Package-level declarations

Types

Link copied to clipboard

Properties

Link copied to clipboard

Converts the value from density-independent pixels to pixels.

Link copied to clipboard

Whether the layout direction is right-to-left.

Link copied to clipboard

Converts the value from pixels to density-independent pixels.

Link copied to clipboard

Screen height in pixels.

Link copied to clipboard

Screen width in pixels.

Functions

Link copied to clipboard

Limits the text size growth caused by the user font scale to maxFontScale.

Link copied to clipboard

Resolves id into out.

Resolves id and returns its value if it is a pixel value.

Link copied to clipboard

The resource entry name of this view's id.

Link copied to clipboard

Whether the view is scrolled to the bottom.

Link copied to clipboard

Whether the view is scrolled to the top.

Link copied to clipboard

Whether the default (non-custom) theme is active.

Link copied to clipboard

Whether the current theme is a light theme.

Link copied to clipboard

Whether a screen reader (e.g. TalkBack) is currently enabled.