Top "Android-drawable" questions

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

How to change the ic_launcher_round.png folder content?

I am having difficulties in changing the icon of an Android app. I have followed the instruction: 1.Right click on …

android android-drawable android-image android-icons
How to put a <vector> in a <shape> in Android?

I'm trying to make customizable icons in Android. I made the vector element, but now I want to give it …

android vector android-drawable shape
How to access Drawable when using Picasso?

I'm using the Picasso framework to handle image loading in my Android app. After the image is loaded, I need …

android android-drawable picasso
Why getDrawable() doesn't work on some Android devices?

I am getting "nosuchmethod error" on some user's phones (eg. Motorola Razr i) but it works fine on my HTC. …

android android-drawable
Changing color in a shape inside a layer-list programmatically

I am trying to change programmatically the color of the selectable_kachel_shape. Here is the xml file: kachel_ticked_…

android shape android-drawable layerdrawable
Create animation by changing image in ImageView with Timer (or Handler)

I want to create an simple animation by changing frames inside an ImageView. I don't want to use AnimationDrawable because …

android animation android-imageview android-drawable animationdrawable
DrawableCompat setTint not working on API 19

I am using the DrawableCompat for tinting drawable as below, tinting doesn't seem to be working on API 19. I am …

android android-support-library android-drawable
Android shape with gradient border and shadow

I have a png drawable for the buttons. But it image drawable has gradient and it looks bad when applying 9…

android-layout android-xml android-drawable android-shape
Change gravity of image drawable in textview

I've added image Drawable start in a TextView . Problem is i cant control the gravity of that Drawable in TextView …

android android-layout textview android-drawable android-gravity
Binary XML file line #1: invalid drawable tag vector

I have an app that runs perfectly on most devices. However, I'm getting a FATAL exception whenever I try to …

android xml android-drawable android-resources android-vectordrawable