Android 2.3 Gingerbread

Package android.graphics.drawable

Provides classes to manage a variety of visual elements that are intended for display only, such as bitmaps and gradients.

See:
          Description

Interface Summary
Animatable Interface that drawables suporting animations should implement.
Drawable.Callback Implement this interface if you want to create an animated drawable that extends Drawable.
 

Class Summary
AnimatedRotateDrawable  
AnimatedRotateDrawable.AnimatedRotateState  
AnimationDrawable 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.
BitmapDrawable A Drawable that wraps a bitmap and can be tiled, stretched, or aligned.
BitmapDrawable.BitmapState  
ClipDrawable A Drawable that clips another Drawable based on this Drawable's current level value.
ClipDrawable.ClipState  
ColorDrawable A specialized Drawable that fills the Canvas with a specified color, with respect to the clip region.
ColorDrawable.ColorState  
Drawable 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.
Drawable.ConstantState  
DrawableContainer  
DrawableContainer.DrawableContainerState  
GradientDrawable A Drawable with a color gradient for buttons, backgrounds, etc.
GradientDrawable.GradientState  
InsetDrawable A Drawable that insets another Drawable by a specified distance.
InsetDrawable.InsetState  
LayerDrawable A Drawable that manages an array of other Drawables.
LayerDrawable.ChildDrawable  
LayerDrawable.LayerState  
LevelListDrawable A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.
NinePatchDrawable A resizeable bitmap, with stretchable areas that you define.
NinePatchDrawable.NinePatchState  
PaintDrawable Drawable that draws its bounds in the given paint, with optional rounded corners.
PictureDrawable Drawable subclass that wraps a Picture, allowing the picture to be used whereever a Drawable is supported.
RotateDrawable A Drawable that can rotate another Drawable based on the current level value.
RotateDrawable.RotateState Represents the state of a rotation for a given drawable.
ScaleDrawable A Drawable that changes the size of another Drawable based on its current level value.
ScaleDrawable.ScaleState  
ShapeDrawable A Drawable object that draws primitive shapes.
ShapeDrawable.ShaderFactory Base class defines a factory object that is called each time the drawable is resized (has a new width or height).
ShapeDrawable.ShapeState Defines the intrinsic properties of this ShapeDrawable's Shape.
StateListDrawable Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string ID value.
StateListDrawable.StateListState  
TransitionDrawable An extension of LayerDrawables that is intended to cross-fade between the first and second layer.
TransitionDrawable.TransitionState  
 

Enum Summary
GradientDrawable.Orientation Controls how the gradient is oriented relative to the drawable's bounds
 

Package android.graphics.drawable Description

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 in XML as described in Availeble Resource Types.


Android 2.3 Gingerbread