setHint

open fun setHint(text: String?)

Sets the text to be displayed when the text of the TextView is empty.

Parameters

text

The hint text.