Top "Android-drawable" questions

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

Custom Android switch track 'animation'

I've created a basic custom Switch, as defined below. <Switch android:id="@+id/availSwitch" android:layout_width="wrap_content" …

android android-layout android-drawable android-switch
Confusion about drawable and mipmap in Android Studio from older example in book

[Disclaimer: First of all I know there are many posts about the drawable and the mipmap folder, I read a …

java android drawable android-drawable mipmaps
Get specific drawable from state list drawable

I have a state list drawable, and i want to get a specific drawable from the state list drawable: <?…

android android-layout android-drawable android-input-method statelistdrawable
How to change drawable tint of a button below api level 23 programmatically in android

I am trying to figure out how to change the color of drawableLeft/drawableRight of button programmatically . I have used …

android android-drawable android-button
Alternative to set duplicateParentState to true for each child view?

Background I have a layout that has some special states (like being checked/pressed), and I wish to set its …

android android-layout android-drawable statelistdrawable
Android - Make check icon using xml drawable

How can I make this shape using xml drawable? Been fighting over it quite some time and can't get it …

android android-drawable xml-drawable
How to create android drawable consisting of two colors side by side?

Uisng XML is it possible to create a drawable where half of it would be color1 and another half would …

android drawable android-drawable xml-drawable