public class AwesomeTextDrawable extends TextDrawable
android.widget.TextView for displaying and formatting text.
Optionally, a Path may be supplied on which to draw the text.
A TextDrawable has an intrinsic size equal to that required to draw all
the text it has been supplied, when possible. In cases where a Path
has been supplied, the caller must explicitly call
setBounds() to provide the Drawable
size based on the Path constraints.| Constructor and Description |
|---|
AwesomeTextDrawable(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
setIcon(String code) |
draw, getIntrinsicHeight, getIntrinsicWidth, getOpacity, getText, getTextAlign, getTextScaleX, getTextSize, getTypeface, isStateful, onBoundsChange, onStateChange, setAlpha, setColorFilter, setText, setTextAlign, setTextColor, setTextColor, setTextPath, setTextScaleX, setTextSize, setTextSize, setTypeface, setTypefaceclearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getChangingConfigurations, getConstantState, getCurrent, getLevel, getMinimumHeight, getMinimumWidth, getPadding, getState, getTransparentRegion, inflate, invalidateSelf, isVisible, jumpToCurrentState, mutate, onLevelChange, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setLevel, setState, setVisible, unscheduleSelfpublic void setIcon(String code)
Copyright © 2013. All Rights Reserved.