Stay organized with collections
Save and categorize content based on your preferences.
UpdateLayout
public
interface
UpdateLayout
implements
UpdateAppearance
android.text.style.UpdateLayout
|
Known indirect subclasses
AbsoluteSizeSpan, DynamicDrawableSpan, ImageSpan, LocaleSpan, MetricAffectingSpan, RelativeSizeSpan, ReplacementSpan, ScaleXSpan, StyleSpan, SubscriptSpan, SuperscriptSpan, TextAppearanceSpan, TypefaceSpan
AbsoluteSizeSpan |
A span that changes the size of the text it's attached to.
|
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.
|
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.
|
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.
|
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.
|
TypefaceSpan |
Span that updates the typeface of the text it's attached to.
|
|
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. This interface also includes UpdateAppearance
since such a change implicitly also impacts the appearance.
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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-04-04 UTC.",
"confidential": False
}