Skip to content Skip to sidebar Skip to footer

Vector Drawable Distorted

I have many imageviews that use a vector drawable as it's source. For most of them it's material icons but when I imported a more complicated vector it shows up distorted on Lollip

Solution 1:

This seems to have been fixed with the latest version of Android Studio (2.0) and Build Tools (23.0.3). I also removed generatedDensities = [] and aaptOptions { additionalParameters "--no-version-vectors" } as well as support and appcompat libraries, relying soley on the design library. I have tested on both Jellybean and Lollipop devices and while the vector preview still looks distorted in Android Studio, it shows up just fine on all physical devices. Seems like this issue was a bug on Google's end.


Post a Comment for "Vector Drawable Distorted"