public static class EditStyledText.EditStyledTextSpans.RescalableImageSpan extends ImageSpan
Modifier and Type | Field and Description |
---|---|
int |
mIntrinsicHeight |
int |
mIntrinsicWidth |
ALIGN_BASELINE, ALIGN_BOTTOM, mVerticalAlignment
Constructor and Description |
---|
RescalableImageSpan(Context context,
int resourceId,
int maxwidth) |
RescalableImageSpan(Context context,
Uri uri,
int maxwidth) |
Modifier and Type | Method and Description |
---|---|
Uri |
getContentUri() |
Drawable |
getDrawable()
Your subclass must implement this method to provide the bitmap
to be drawn.
|
boolean |
isOverSize() |
draw, getSize, getVerticalAlignment
updateDrawState, updateMeasureState
getUnderlying
wrap
public int mIntrinsicWidth
public int mIntrinsicHeight
public RescalableImageSpan(Context context, int resourceId, int maxwidth)
public Drawable getDrawable()
DynamicDrawableSpan
getDrawable
in class ImageSpan
public boolean isOverSize()
public Uri getContentUri()