{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

TextUnit.Companion

public static class TextUnit.Companion


Summary

Public methods

static final @NonNull TextUnit

A special TextUnit instance for representing inheriting from parent value.

Public methods

getUnspecified

public static final @NonNull TextUnit getUnspecified()

A special TextUnit instance for representing inheriting from parent value.

Notice that performing arithmetic operations on Unspecified may result in an IllegalArgumentException.