Top "Drawable" questions

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

Android: Change Shape Color in runtime

I have a drawable that i use as a Background for a LinearLayout. I would like to change the color …

android drawable
how to access the drawable resources by name in android

In my application, I need to get the some bitmap drawables somewhere where I do not want to keep the …

android drawable
How to put text in a drawable?

I'm trying to create a drawable on the fly to use as a background for a custom linearlayout. It needs …

android drawable
Drawing multiple shapes with ShapeDrawable in xml with Android

I am currently drawing a number of circles on a canvas in a custom view in code. the circles are …

android xml drawable shapes
Default selector background in Clickable Views

I have some clickable views and I want to set the default available background that is present on list click (…

android css-selectors drawable
Modifying the color of an android drawable

I would like to be able to use the same drawable to represent both: and as the same drawable, and …

android themes drawable
Is there a way to set drawable's Alpha using XML?

Easy like itself . I wanna make an alpha button , which would have a selected drawable this way: <?xml version="1.0" …

android drawable alpha-transparency
create shape xml file in drawable folder in android studio

I am using Android studio 1.2.2 and need to know how to create a new shape file in drawable folder. I …

android drawable shape
android animation is not finished in onAnimationEnd

It seems that an android animation is not truly finished when the onAnimationEnd event is fired although animation.hasEnded is …

android animation background android-animation drawable
android drawable from file path

I have a file path String of the form "e:\...\xxx.jpg" How do I create a drawable from it?

android drawable filepath