ExposedDropdownMenuAnchorType


The type of element that can serve as a dropdown menu anchor.

Summary

Public companion properties

ExposedDropdownMenuAnchorType

An editable primary anchor of the dropdown menu, such as a text field that allows user input.

Cmn
ExposedDropdownMenuAnchorType

A non-editable primary anchor of the dropdown menu, such as a read-only text field.

Cmn
ExposedDropdownMenuAnchorType

A secondary anchor of the dropdown menu that lives alongside an editable primary anchor, such as an icon within an editable text field.

Cmn

Public functions

open String
Cmn

Public companion properties

PrimaryEditable

val PrimaryEditableExposedDropdownMenuAnchorType

An editable primary anchor of the dropdown menu, such as a text field that allows user input.

An anchor of this type will open the menu without focus in order to preserve focus on the soft keyboard (IME).

PrimaryNotEditable

val PrimaryNotEditableExposedDropdownMenuAnchorType

A non-editable primary anchor of the dropdown menu, such as a read-only text field.

An anchor of this type will open the menu with focus.

SecondaryEditable

val SecondaryEditableExposedDropdownMenuAnchorType

A secondary anchor of the dropdown menu that lives alongside an editable primary anchor, such as an icon within an editable text field.

If accessibility services are enabled, an anchor of this type will open the menu with focus. Otherwise, the menu is opened without focus in order to preserve focus on the soft keyboard (IME).

Public functions

toString

open fun toString(): String