Android Studio now supports vector assets on 21+ and will generate pngs for lower versions at compile time. I have a vector asset (from the Material Icons) that I want to c
Android studio now supports vectors pre-lollipop. No PNG conversion. You can still change your fill color and it will work.
In you ImageView, use
app:srcCompat="@drawable/ic_more_vert_24dp"
In your gradle file,
// Gradle Plugin 2.0+
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
compile 'com.android.support:design:23.4.0'