Package icyllis.modernui.graphics.drawable
package icyllis.modernui.graphics.drawable
-
ClassDescriptionInterface that drawables supporting animations should implement.Abstract class that drawables supporting animations and callbacks should extend.
Drawable
for drawing animated images (like GIF).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.An efficient way to draw simple scalable icons, without triggering heavy path rendering.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 that manages aColorDrawable
to make it stateful and backed by aColorStateList
.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.Implement this interface if you want to create an animated drawable that extendsDrawable
.This abstract class is used byDrawable
s to store shared constant state and data between Drawables.A helper class that contains severalDrawable
s and selects which one to use.A ConstantState that can contain severalDrawable
s.Drawable container with only one child element.ADrawable
with a color gradient for buttons, backgrounds, etc.Controls how the gradient is oriented relative to the drawable's boundsA Drawable that wraps an image and can be tiled, stretched, or aligned.A Drawable that insets another Drawable by a specified distance or fraction of the content bounds.A Drawable that manages an array of other Drawables.A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.Drawable that shows a ripple effect in response to state changes.A Drawable that wraps an image and can be drawn with rounded corners.ADrawable
for drawing shapes.Lets you assign a number of graphic images to a single Drawable and swap out the visible item by a string ID value.