Top "Android-drawable" questions

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

Error: The file name must end with .xml or .png

Even though I didn't choose photothumb.db as a drawable, I get an error saying photothumb.db should end with .…

android android-drawable android-image android-background
Retrieve drawable resource from Uri

I'm storing the drawable resource path in an Uri in this way: Uri uri = Uri.parse("android.resource://my_app_…

android uri android-drawable
BitmapFactory.decodeResource() returns null for shape defined in xml drawable

I looked through multiple similar questions, although I haven't found proper answer on my query. I have a drawable, defined …

android android-drawable xml-drawable
Can a drawable shape have it's size set to fill_parent?

Is it valid for a drawable shape in Android to use fill_parent for it's size? <shape xmlns:android="…

android android-drawable
SVG Vs PNG on Android

Which is the best way of dealing with images in Android. Recently in Android Lollipop We had given support for …

android svg android-drawable android-5.0-lollipop
Adding bottom margin to ListView last element

I need to add to add ListView with complicated items background: different for even/odd and rounded corners at the …

android centering android-drawable
Material design suggestions for lists with avatar, text and icon

I want to create Material Designed Android application and I try to follow all Google's suggestions about making nice layouts …

android android-recyclerview material-design android-drawable
How Do I Use 'RotateDrawable'?

Could anyone tell me how they have got 'RotateDrawable' to work whether it be from code or XML or both? …

android android-drawable
Centering bitmap Marker (Google Maps Android API v2)

When I add a marker from a custom Bitmap, the marker is not centered at the point I specify. I'm …

android centering google-maps-android-api-2 android-drawable
Set drawable position inside button

I've got a button and a drawable on the left of the text, but I want the drawable to be …

android android-button android-drawable