Most visited

Recently visited

Added in API level 1

android.text.style

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.

Interfaces

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 the paragraph 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  

Classes

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. 
LocaleSpan Changes the Locale of the text to which the span is attached. 
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. 
TtsSpan A span that supplies additional meta-data for the associated text intended for text-to-speech engines. 
TtsSpan.Builder<C extends Builder<?>> A simple builder for TtsSpans. 
TtsSpan.CardinalBuilder A builder for TtsSpans of type TYPE_CARDINAL
TtsSpan.DateBuilder A builder for TtsSpans of type TYPE_DATE
TtsSpan.DecimalBuilder A builder for TtsSpans of type TYPE_DECIMAL
TtsSpan.DigitsBuilder A builder for TtsSpans of type TYPE_DIGITS
TtsSpan.ElectronicBuilder A builder for TtsSpans of type TYPE_ELECTRONIC
TtsSpan.FractionBuilder A builder for TtsSpans of type TYPE_FRACTION
TtsSpan.MeasureBuilder A builder for TtsSpans of type TYPE_MEASURE
TtsSpan.MoneyBuilder A builder for TtsSpans of type TYPE_MONEY
TtsSpan.OrdinalBuilder A builder for TtsSpans of type TYPE_ORDINAL
TtsSpan.SemioticClassBuilder<C extends SemioticClassBuilder<?>> A builder for TtsSpans, has setters for morphosyntactic features. 
TtsSpan.TelephoneBuilder A builder for TtsSpans of type TYPE_TELEPHONE
TtsSpan.TextBuilder A builder for TtsSpans of type TYPE_TEXT
TtsSpan.TimeBuilder A builder for TtsSpans of type TYPE_TIME
TtsSpan.VerbatimBuilder A builder for TtsSpans of type TYPE_VERBATIM
TypefaceSpan Changes the typeface family of the text to which the span is attached. 
UnderlineSpan  
URLSpan  

Hooray!