setPrefixText

open fun setPrefixText(@Nullable prefixText: CharSequence)

Sets prefix text that will be displayed in the input area when the hint is collapsed before text is entered. If the prefix is null, any previous prefix text will be hidden and no prefix text will be shown.

Parameters

prefixText

Prefix text to display

See also