ColorScheme

The colour scheme to use.

Numerical representations

The numerical representation of this enum's entries are as listed below:

Enum valueInt equivalent (accessible via value)
ColorScheme.SystemCustomTabsIntent.COLOR_SCHEME_SYSTEM
ColorScheme.LightCustomTabsIntent.COLOR_SCHEME_LIGHT
ColorScheme.DarkCustomTabsIntent.COLOR_SCHEME_DARK

Since

0.0.1

See also

Entries

Link copied to clipboard

Applies either a light or dark colour scheme to the user interface in the custom tab depending on the user's system settings.

Link copied to clipboard

Applies a light colour scheme to the user interface in the custom tab.

Link copied to clipboard

Applies a dark colour scheme to the user interface in the custom tab. Colours set through CustomTabsIntent.EXTRA_TOOLBAR_COLOR may be darkened to match user expectations.

Types

Link copied to clipboard

Companion object exposing methods to retrieve a ColorScheme given its numerical representation.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val value: Int

The numerical representation.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.