Top "Drawable" questions

A Drawable is a graphics-related term which generally means "something to be drawn.

Shape drawable as background, a line at the bottom

I am using a drawable as a background of a TextView just to have a divider line below the text. …

android drawable shape
Why isn't my vector drawable scaling as expected?

I am attempting to use vector drawables in my Android app. From http://developer.android.com/training/material/drawables.html (…

android vector drawable scaling
Android Drawable Images from URL

I am presently using the following piece of code to load in images as drawable objects form a URL. Drawable …

android url image drawable
How to draw text on canvas?

i'm trying to develop a simple pie chart class for android. For now, it can take a map of labels …

android canvas drawable
android: fit height of DrawableLeft in a textView

I am trying to display a blue line next to a block of text, pretty much like this: Here's my …

android drawable
Drawable folders in res folder?

What is the difference between the three drawable folders in the res folder in the project hierarchy? If I have …

android image drawable
How to programmatically set drawableRight on Android Edittext?

I know about set drawableRight in XML. but i required to do it programmatically because it is change as per …

android drawable
BitmapDrawable deprecated alternative

I have the following code that will rotate a drawable by a set amount of degrees. public Drawable rotateDrawable(float …

android drawable
Shape Drawable Size not working

I have a very simple shape that I want to set the width of: <shape android:shape="rectangle"> &…

android drawable xml-layout shapedrawable
Replace selector images programmatically

I have an ImageView that has a drawable image resource set to a selector. How do I programmatically access the …

android imageview drawable