A Drawable is a general abstraction for "something that can be drawn." Most
often you will deal with Drawable as the type of resource retrieved… API Doc
A helper class that contains several Drawables and selects which one to use.
You can subclass it to create your own DrawableContainers or directly… API Doc
Controls how the gradient is oriented relative to the drawable's bounds
A Drawable that insets another Drawable by a specified distance.
This is used when a View needs a background that is smaller than
the View's… API Doc
A Drawable that can rotate another Drawable based on the current level
value. The start and end angles of rotation can be controlled to map any
… API Doc
An object used to create frame-by-frame animations, defined by a series of Drawable objects,
which can be used as a View object's background.
… API Doc
A Drawable that wraps a bitmap and can be tiled, stretched, or aligned. You can create a
BitmapDrawable from a file path, an input stream, through… API Doc
A Drawable that clips another Drawable based on this Drawable's current
level value. You can control how much the child Drawable gets clipped in… API Doc
A specialized Drawable that fills the Canvas with a specified color.
Note that a ColorDrawable ignores the ColorFilter.
It can be defined in an… API Doc
A Drawable with a color gradient for buttons, backgrounds, etc.
It can be defined in an XML file with the element. For more
information,… API Doc
A Drawable that manages an array of other Drawables. These are drawn in array
order, so the element with the largest index will be drawn on top.
… API Doc
A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.
Setting the level value of the object with… API Doc
A resizeable bitmap, with stretchable areas that you define. This type of image
is defined in a .png file with a special format.
Developer… API Doc
Drawable that draws its bounds in the given paint, with optional
Drawable subclass that wraps a Picture, allowing the picture to be used
whereever a Drawable is supported.
Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string
It can be defined in an XML… API Doc
An extension of LayerDrawables that is intended to cross-fade between
the first and second layer. To start the transition, call… API Doc
A Drawable that changes the size of another Drawable based on its current
level value. You can control how much the child Drawable changes in… API Doc
A Drawable object that draws primitive shapes.
A ShapeDrawable takes a Shape
object and manages its presence on the screen. If no Shape is given,… API Doc