Companion

object Companion

Properties

Link copied to clipboard
const val END_ICON_CLEAR_TEXT: Int = 2

The TextInputLayout will show a clear text button while there is input in the EditText. Clicking it will clear out the text and hide the icon.

Link copied to clipboard
const val END_ICON_CUSTOM: Int

The TextInputLayout will show a custom icon specified by the user.

Link copied to clipboard
const val END_ICON_NONE: Int = 0

Default for the TextInputLayout. It will not display an end icon.

Link copied to clipboard

The TextInputLayout will show a password toggle button if its EditText displays a password. When this end icon is clicked, the password is shown as plain-text if it was disguised, or vice-versa.