Package-level declarations

Types

Link copied to clipboard

Compatibility helper for checking Samsung theme overlay configuration on an AssetManager.

Link copied to clipboard
A color appearance model, based on CAM16, extended to use L* as the lightness dimension, and coupled to a gamut mapping algorithm.
Link copied to clipboard
Represents a color which is one of either:
  1. A Gradient; as represented by a Shader.
  2. A ColorStateList
  3. A simple color represented by an int
Link copied to clipboard
Helper class which allows access to properties of Configuration in a backward compatible fashion.
Link copied to clipboard
Parser for xml type font resources.
Link copied to clipboard
Helper for accessing features in Resources.
Link copied to clipboard
Compat methods for accessing TypedArray values.

Functions

Link copied to clipboard

Retrieve the boolean value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the color value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the color state list value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the dimension value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the dimension pixel offset value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the dimension pixel size value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the drawable value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the float value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the font value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the integer value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the integer value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieves the resource identifier for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the string value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the text array value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard

Retrieve the text value for the attribute at index or throws IllegalArgumentException if not defined.

Link copied to clipboard
inline fun <R> TypedArray.use(block: (TypedArray) -> R): R

Executes the given block function on this TypedArray and then recycles it.