Top "Android-drawable" questions

In Android, a Drawable is a general abstraction for "something that can be drawn.

Android Vector Drawable <text> not support, <tspan> not support

In icon.svg ERROR@ line 9 <text> is not supported ERROR@ line 10 <tspan> is not supported How …

android svg android-drawable android-vectordrawable
How to merge two Drawables dynamically in Android?

so I have two different Drawables which I need to merge and get a single Drawable at runtime. I want …

android android-layout drawable android-drawable layerdrawable
Android - Get Color From ImageView with ColorFIlter Applied to Drawable

I'm trying to get the color of an ImageView within a GridView that I've applied a color filter too previously. …

android android-imageview android-gridview android-drawable
Change Checkbox colorAccent in runtime programmatically

I'm creating an ordinary Checkbox view: <CheckBox android:layout_width="wrap_content" android:layout_height="wrap_content"/> This …

android checkbox colors android-drawable android-styles
Rounded rectangle with stroke on top android drawable XML

I was trying to make a drawable using XML in android. The requirement is I need to have a rounded …

android xml drawable android-drawable xml-drawable
Android -purpose of useLevel in shape tag

What is the purpose of android shape xml tag useLevel attribute ? This is in respect to a layer-list but should …

android xml android-drawable layer-list
setColor method of GradientDrawable drawing different color

I have a shape in layer-list and my goal is to change color of the shape programmatically at runtime. I …

android android-ui android-drawable shapedrawable
Loop animation drawable

I'm trying to animate some png and i would loop the animation. This is my code: wave.setBackgroundResource(R.drawable.…

java android xml android-drawable animationdrawable
What is the difference between using vector drawable and a set of .png for icons in Android?

What are the pros and cons in using vector drawables vs. using a set of .png for Android system icons? …

android png android-drawable android-image
How should we use the mipmap folders added with android 4.4?

I recently installed one more Android SDK to Android Studio, the SDK version 4.4 (API level 19), and after using it with …

android android-4.4-kitkat android-drawable mipmaps