Provides classes used to view or change the style of a span of text in a View object.
The classes with a subclass Standard are passed in to SpannableString.setSpan()
or SpannableStringBuilder.setSpan()
to add a new styled span to a string in a View object.
AlignmentSpan | |
LeadingMarginSpan | A paragraph style affecting the leading margin. |
LeadingMarginSpan.LeadingMarginSpan2 | An extended version of LeadingMarginSpan , which allows
the implementor to specify the number of lines of text to which
this object is attached that the "first line of paragraph" margin
width will be applied to. |
LineBackgroundSpan | |
LineHeightSpan | |
LineHeightSpan.WithDensity | |
ParagraphStyle | The classes that affect paragraph-level text formatting implement this interface. |
TabStopSpan | Represents a single tab stop on a line. |
UpdateAppearance | The classes that affect character-level text in a way that modifies their appearance when one is added or removed must implement this interface. |
UpdateLayout | The classes that affect character-level text formatting in a way that triggers a text layout update when one is added or removed must implement this interface. |
WrapTogetherSpan |
AbsoluteSizeSpan | |
AlignmentSpan.Standard | |
BackgroundColorSpan | |
BulletSpan | |
CharacterStyle | The classes that affect character-level text formatting extend this class. |
ClickableSpan | If an object of this type is attached to the text of a TextView with a movement method of LinkMovementMethod, the affected spans of text can be selected. |
DrawableMarginSpan | |
DynamicDrawableSpan | |
EasyEditSpan | Provides an easy way to edit a portion of text. |
ForegroundColorSpan | |
IconMarginSpan | |
ImageSpan | |
LeadingMarginSpan.Standard | The standard implementation of LeadingMarginSpan, which adjusts the margin but does not do any rendering. |
MaskFilterSpan | |
MetricAffectingSpan | The classes that affect character-level text formatting in a way that changes the width or height of characters extend this class. |
QuoteSpan | |
RasterizerSpan | |
RelativeSizeSpan | |
ReplacementSpan | |
ScaleXSpan | |
StrikethroughSpan | |
StyleSpan | Describes a style in a span. |
SubscriptSpan | |
SuggestionSpan | Holds suggestion candidates for the text enclosed in this span. |
SuperscriptSpan | |
TabStopSpan.Standard | The default implementation of TabStopSpan. |
TextAppearanceSpan | Sets the text color, size, style, and typeface to match a TextAppearance resource. |
TypefaceSpan | Changes the typeface family of the text to which the span is attached. |
UnderlineSpan | |
URLSpan |