java.lang.Object | ||||
↳ | android.text.style.CharacterStyle | |||
↳ | android.text.style.MetricAffectingSpan | |||
↳ | android.text.style.ReplacementSpan | |||
↳ | android.text.style.DynamicDrawableSpan |
Known Direct Subclasses |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ALIGN_BASELINE | A constant indicating that the bottom of this span should be aligned with the baseline of the surrounding text. | |||||||||
int | ALIGN_BOTTOM | A constant indicating that the bottom of this span should be aligned with the bottom of the surrounding text, i.e., at the same level as the lowest descender in the text. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
mVerticalAlignment |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
||||||||||
|
Your subclass must implement this method to provide the bitmap
to be drawn.
|
||||||||||
|
|
||||||||||
|
Returns the vertical alignment of this span, one of
ALIGN_BOTTOM
or
ALIGN_BASELINE
.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.text.style.ReplacementSpan
|
|||||||||||
From class
android.text.style.MetricAffectingSpan
|
|||||||||||
From class
android.text.style.CharacterStyle
|
|||||||||||
From class
java.lang.Object
|
A constant indicating that the bottom of this span should be aligned with the baseline of the surrounding text.
A constant indicating that the bottom of this span should be aligned with the bottom of the surrounding text, i.e., at the same level as the lowest descender in the text.
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 vertical alignment of this span, one of
ALIGN_BOTTOM
or
ALIGN_BASELINE
.