Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary:

# UpdateLayout

*** ** * ** ***


`
public


interface
UpdateLayout
`


`


implements

https://developer.android.com/reference/android/text/style/UpdateAppearance


`

|---|
| android.text.style.UpdateLayout |

|---|
| Known indirect subclasses [AbsoluteSizeSpan](https://developer.android.com/reference/android/text/style/AbsoluteSizeSpan), [DynamicDrawableSpan](https://developer.android.com/reference/android/text/style/DynamicDrawableSpan), [ImageSpan](https://developer.android.com/reference/android/text/style/ImageSpan), [LocaleSpan](https://developer.android.com/reference/android/text/style/LocaleSpan), [MetricAffectingSpan](https://developer.android.com/reference/android/text/style/MetricAffectingSpan), [RelativeSizeSpan](https://developer.android.com/reference/android/text/style/RelativeSizeSpan), [ReplacementSpan](https://developer.android.com/reference/android/text/style/ReplacementSpan), [ScaleXSpan](https://developer.android.com/reference/android/text/style/ScaleXSpan), [StyleSpan](https://developer.android.com/reference/android/text/style/StyleSpan), [SubscriptSpan](https://developer.android.com/reference/android/text/style/SubscriptSpan), [SuperscriptSpan](https://developer.android.com/reference/android/text/style/SuperscriptSpan), [TextAppearanceSpan](https://developer.android.com/reference/android/text/style/TextAppearanceSpan), [TypefaceSpan](https://developer.android.com/reference/android/text/style/TypefaceSpan) |---|---| | [AbsoluteSizeSpan](https://developer.android.com/reference/android/text/style/AbsoluteSizeSpan) | A span that changes the size of the text it's attached to. | | [DynamicDrawableSpan](https://developer.android.com/reference/android/text/style/DynamicDrawableSpan) | Span that replaces the text it's attached to with a `https://developer.android.com/reference/android/graphics/drawable/Drawable` that can be aligned with the bottom or with the baseline of the surrounding text. | | [ImageSpan](https://developer.android.com/reference/android/text/style/ImageSpan) | Span that replaces the text it's attached to with a `https://developer.android.com/reference/android/graphics/drawable/Drawable` that can be aligned with the bottom or with the baseline of the surrounding text. | | [LocaleSpan](https://developer.android.com/reference/android/text/style/LocaleSpan) | Changes the `https://developer.android.com/reference/java/util/Locale` of the text to which the span is attached. | | [MetricAffectingSpan](https://developer.android.com/reference/android/text/style/MetricAffectingSpan) | The classes that affect character-level text formatting in a way that changes the width or height of characters extend this class. | | [RelativeSizeSpan](https://developer.android.com/reference/android/text/style/RelativeSizeSpan) | Uniformly scales the size of the text to which it's attached by a certain proportion. | | [ReplacementSpan](https://developer.android.com/reference/android/text/style/ReplacementSpan) |   | | [ScaleXSpan](https://developer.android.com/reference/android/text/style/ScaleXSpan) | Scales horizontally the size of the text to which it's attached by a certain factor. | | [StyleSpan](https://developer.android.com/reference/android/text/style/StyleSpan) | Span that allows setting the style of the text it's attached to. | | [SubscriptSpan](https://developer.android.com/reference/android/text/style/SubscriptSpan) | The span that moves the position of the text baseline lower. | | [SuperscriptSpan](https://developer.android.com/reference/android/text/style/SuperscriptSpan) | The span that moves the position of the text baseline higher. | | [TextAppearanceSpan](https://developer.android.com/reference/android/text/style/TextAppearanceSpan) | Sets the text appearance using the given `https://developer.android.com/reference/android/R.styleable#TextAppearance` attributes. | | [TypefaceSpan](https://developer.android.com/reference/android/text/style/TypefaceSpan) | Span that updates the typeface of the text it's attached to. | |

<br />

*** ** * ** ***

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 `https://developer.android.com/reference/android/text/style/UpdateAppearance`
since such a change implicitly also impacts the appearance.