public static class EditStyledText.EditStyledTextSpans.HorizontalLineSpan extends DynamicDrawableSpan
ALIGN_BASELINE, ALIGN_BOTTOM, mVerticalAlignment
Constructor and Description |
---|
HorizontalLineSpan(int color,
int width,
Spannable spannable) |
Modifier and Type | Method and Description |
---|---|
int |
getColor() |
Drawable |
getDrawable()
Your subclass must implement this method to provide the bitmap
to be drawn.
|
void |
resetWidth(int width) |
draw, getSize, getVerticalAlignment
updateDrawState, updateMeasureState
getUnderlying
wrap
public HorizontalLineSpan(int color, int width, Spannable spannable)
public Drawable getDrawable()
DynamicDrawableSpan
getDrawable
in class DynamicDrawableSpan
public void resetWidth(int width)
public int getColor()