Top "Android-vectordrawable" questions

A VectorDrawable is a vector graphic defined in an XML file as a set of points, lines, and curves along with its associated color information.

Change fill color on vector asset in Android Studio

Android Studio now supports vector assets on 21+ and will generate pngs for lower versions at compile time. I have a …

android android-studio vector-graphics android-vectordrawable
How to create vector drawables for android?

I am new to VectorDrawables. I can see that the default vector drawables provided with android studio like ic_menu_…

java android android-studio svg android-vectordrawable
How to use VectorDrawables in Android API lower than 21?

I am working on an Android project and I chose <vector> to display icon because it is adaptable …

java android svg android-vectordrawable
How to set VectorDrawable as an image for ImageView programmatically

I want to set some vectorDrawables to a ImageView in Android Studio. I can set png and jpg drawable easily …

android imageview android-vectordrawable
Is it possible to use VectorDrawable in Buttons and TextViews using android:DrawableRight?

When I use VectorDrawable assets in a textview or imageview I get a runtime crash when using "android:DrawableRight" / "android:…

java android android-layout android-vectordrawable compound-drawables
Getting Bitmap from vector drawable

In my application, I have to set a large icon for a notification. LargeIcon must be a Bitmap, and my …

android bitmap android-drawable android-vectordrawable
VectorDrawable - is it available somehow for pre-Lollipop versions of Android?

Background I've noticed that Android now supports some kind of vector drawing, via a class called "VectorDrawable" (and also AnimatedVectorDrawable, …

android gradle vector android-vectordrawable
How to change color of vector drawable path on button click

With the new android support update, vector drawables get backward compatibility. I have a vector image with various paths. I …

android vector vector-graphics android-vectordrawable
Why is my SVG failing to load in Vector Asset Studio

The SVG below is failing to open in Android Studio's Vector Asset Studio in resulting in the error: "Empty preview …

android android-layout svg android-vectordrawable androidsvg
Android vectorDrawables.useSupportLibrary = true is stopping app

If I use vectorDrawables.useSupportLibrary = true in gradle then run the app it stopped unfortunately. If I remove vectorDrawables.useSupportLibrary = …

android android-support-library android-appcompat android-vectordrawable