TextView.SetHint(Int32) Method

Definition

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

[Android.Runtime.Register("setHint", "(I)V", "")]
public void SetHint (int resid);
[<Android.Runtime.Register("setHint", "(I)V", "")>]
member this.SetHint : int -> unit

Parameters

resid
Int32
Attributes

Remarks

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

Java documentation for android.widget.TextView.setHint(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to