Stay organized with collections
Save and categorize content based on your preferences.
UpdateAppearance
public
interface
UpdateAppearance
android.text.style.UpdateAppearance
|
Known indirect subclasses
AbsoluteSizeSpan, BackgroundColorSpan, ClickableSpan, DynamicDrawableSpan, ForegroundColorSpan, ImageSpan, LocaleSpan, MaskFilterSpan, MetricAffectingSpan, RelativeSizeSpan, ReplacementSpan, ScaleXSpan, StrikethroughSpan, StyleSpan, SubscriptSpan, and 7 others.
AbsoluteSizeSpan |
A span that changes the size of the text it's attached to.
|
BackgroundColorSpan |
Changes the background color of the text to which the span is attached.
|
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.
|
DynamicDrawableSpan |
Span that replaces the text it's attached to with a Drawable that can be aligned with
the bottom or with the baseline of the surrounding text.
|
ForegroundColorSpan |
Changes the color of the text to which the span is attached.
|
ImageSpan |
Span that replaces the text it's attached to with a Drawable that can be aligned with
the bottom or with the baseline of the surrounding text.
|
LocaleSpan |
Changes the Locale of the text to which the span is attached.
|
MaskFilterSpan |
Span that allows setting a MaskFilter to the text it's attached to.
|
MetricAffectingSpan |
The classes that affect character-level text formatting in a way that
changes the width or height of characters extend this class.
|
RelativeSizeSpan |
Uniformly scales the size of the text to which it's attached by a certain proportion.
|
ReplacementSpan |
|
ScaleXSpan |
Scales horizontally the size of the text to which it's attached by a certain factor.
|
StrikethroughSpan |
A span that strikes through the text it's attached to.
|
StyleSpan |
Span that allows setting the style of the text it's attached to.
|
SubscriptSpan |
The span that moves the position of the text baseline lower.
|
SuperscriptSpan |
The span that moves the position of the text baseline higher.
|
TextAppearanceSpan |
Sets the text appearance using the given
TextAppearance attributes.
|
TextLinks.TextLinkSpan |
A ClickableSpan for a TextLink.
|
TypefaceSpan |
Span that updates the typeface of the text it's attached to.
|
URLSpan |
Implementation of the ClickableSpan that allows setting a url string.
|
UnderlineSpan |
A span that underlines the text it's attached to.
|
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.
|
|
The classes that affect character-level text in a way that modifies their
appearance when one is added or removed must implement this interface. Note
that if the class also impacts size or other metrics, it should instead
implement UpdateLayout
.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-04 UTC."],[],[]]