public class LevelListDrawable extends DrawableContainer
DrawableContainer.DrawableContainerStateDrawable.Callback, Drawable.ConstantState| Constructor and Description |
|---|
LevelListDrawable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLevel(int low,
int high,
Drawable drawable) |
void |
inflate(Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs) |
Drawable |
mutate() |
protected boolean |
onLevelChange(int level) |
draw, getChangingConfigurations, getConstantState, getCurrent, getIntrinsicHeight, getIntrinsicWidth, getMinimumHeight, getMinimumWidth, getOpacity, getPadding, invalidateDrawable, isStateful, jumpToCurrentState, onBoundsChange, onStateChange, scheduleDrawable, selectDrawable, setAlpha, setColorFilter, setConstantState, setDither, setEnterFadeDuration, setExitFadeDuration, setVisible, unscheduleDrawableclearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getLevel, getState, getTransparentRegion, invalidateSelf, isVisible, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setFilterBitmap, setLevel, setState, unscheduleSelfpublic void addLevel(int low,
int high,
Drawable drawable)
protected boolean onLevelChange(int level)
onLevelChange in class DrawableContainerpublic void inflate(Resources r, org.xmlpull.v1.XmlPullParser parser, AttributeSet attrs) throws org.xmlpull.v1.XmlPullParserException, IOException
inflate in class Drawableorg.xmlpull.v1.XmlPullParserExceptionIOExceptionpublic Drawable mutate()
mutate in class DrawableContainerCopyright © 2008-2013. All Rights Reserved.