setHint

open fun setHint(@StringRes textHintId: Int)

Set the hint to be displayed in the floating label, if enabled, using the given resource id.

Parameters

textHintId

The resource id of the text to display in the floating label

See also

setHint(CharSequence)