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).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 manages an array of other Drawables.A resource that manages a number of alternate Drawables, each assigned a maximum numerical value.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.