setHint

open fun setHint(text: String?)

Sets the text to be displayed when the text of the TextView is empty. Null means to use the normal empty text. The hint does not currently participate in determining the size of the view.


open fun setHint(resId: Int)

Sets the text to be displayed when the text of the TextView is empty, from a resource.