Provides classes to manage a variety of visual elements that are intended for display only, such as bitmaps and gradients. These elements are often used by widgets as background images or simply as indicators (for example, a volume level indicator).
You can create most of these drawables using XML, as described in Drawable Resources.
|Interface that drawables suporting animations should implement.
|Implement this interface if you want to create an animated drawable that
|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.
|A Drawable that wraps a bitmap and can be tiled, stretched, or aligned.
|A Drawable that clips another Drawable based on this Drawable's current level value.
|A specialized Drawable that fills the Canvas with a specified color.
|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 for drawing things to the screen; the Drawable class provides a generic API for dealing with an underlying visual resource that may take a variety of forms.
|This abstract class is used by
Drawables to store shared constant state and data
|A helper class that contains several
Drawables and selects which one to use.
|A ConstantState that can contain several
|A Drawable with a color gradient for buttons, backgrounds, etc.
|A Drawable that insets another Drawable by a specified distance.
|A Drawable that manages an array of other Drawables.
|A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.
|A resizeable bitmap, with stretchable areas that you define.
|Drawable that draws its bounds in the given paint, with optional rounded corners.
|Drawable subclass that wraps a Picture, allowing the picture to be used whereever a Drawable is supported.
A Drawable that can rotate another Drawable based on the current level value.
|A Drawable that changes the size of another Drawable based on its current level value.
|A Drawable object that draws primitive shapes.
|Base class defines a factory object that is called each time the drawable is resized (has a new width or height).
|Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string ID value.
|An extension of LayerDrawables that is intended to cross-fade between the first and second layer.
|Controls how the gradient is oriented relative to the drawable's bounds