Represents the colors used for text selection by text and text field components.

See LocalAutofillHighlight to provide new values for this throughout the hierarchy.

Summary

Public companion properties

AutofillHighlight

Default instance of AutofillHighlight.

Cmn
android

Public constructors

AutofillHighlight(autofillHighlightColor: Color)
Cmn
android

Public properties

Color

the color used to draw the background behind autofilled elements.

Cmn
android

Public companion properties

Default

val DefaultAutofillHighlight

Default instance of AutofillHighlight.

Public constructors

AutofillHighlight

AutofillHighlight(autofillHighlightColor: Color)

Public properties

autofillHighlightColor

val autofillHighlightColorColor

the color used to draw the background behind autofilled elements.