java.lang.Object | |||||
↳ | android.text.style.CharacterStyle | ||||
↳ | android.text.style.MetricAffectingSpan | ||||
↳ | android.text.style.ReplacementSpan | ||||
↳ | android.text.style.DynamicDrawableSpan | ||||
↳ | android.text.style.ImageSpan |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.text.style.DynamicDrawableSpan
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.text.style.DynamicDrawableSpan
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
Use
ImageSpan(Context, Bitmap) instead.
| |||||||||||
This constructor is deprecated.
Use {@link #ImageSpan(Context, Bitmap, int) instead.
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Your subclass must implement this method to provide the bitmap
to be drawn.
| |||||||||||
Returns the source string that was saved during construction.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class android.text.style.DynamicDrawableSpan
| |||||||||||
From class android.text.style.ReplacementSpan
| |||||||||||
From class android.text.style.MetricAffectingSpan
| |||||||||||
From class android.text.style.CharacterStyle
| |||||||||||
From class java.lang.Object
|
This constructor is deprecated.
Use {@link #ImageSpan(Context, Bitmap, int) instead.
verticalAlignment | one of ALIGN_BOTTOM or
ALIGN_BASELINE .
|
---|
verticalAlignment | one of ALIGN_BOTTOM or
ALIGN_BASELINE .
|
---|
verticalAlignment | one of ALIGN_BOTTOM or
ALIGN_BASELINE .
|
---|
verticalAlignment | one of ALIGN_BOTTOM or
ALIGN_BASELINE .
|
---|
verticalAlignment | one of ALIGN_BOTTOM or
ALIGN_BASELINE .
|
---|
Your subclass must implement this method to provide the bitmap to be drawn. The dimensions of the bitmap must be the same from each call to the next.
Returns the source string that was saved during construction.