Object

ContentAlpha

Default alpha levels used by Material components.

Source set: Android
public object ContentAlpha

Default alpha levels used by Material components.

See LocalContentAlpha.

Properties

high

Source set: Android
public val high: Float

A high level of content alpha, used to represent high emphasis text such as input text in a selected androidx.compose.material.TextField.

medium

Source set: Android
public val medium: Float

A medium level of content alpha, used to represent medium emphasis text such as placeholder text in a androidx.compose.material.TextField.

disabled

Source set: Android
public val disabled: Float

A low level of content alpha used to represent disabled components, such as text in a disabled Button.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: