TextView.SetHintTextColor Method

Definition

Overloads

Name Description
SetHintTextColor(Color)

Sets the color of the hint text for all the states (disabled, focussed, selected.

SetHintTextColor(ColorStateList)

Sets the color of the hint text.

SetHintTextColor(Color)

Sets the color of the hint text for all the states (disabled, focussed, selected.

[Android.Runtime.Register("setHintTextColor", "(I)V", "")]
public void SetHintTextColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setHintTextColor", "(I)V", "")>]
member this.SetHintTextColor : Android.Graphics.Color -> unit

Parameters

color
Color

int

Attributes

Remarks

Sets the color of the hint text for all the states (disabled, focussed, selected...) of this TextView.

Java documentation for android.widget.TextView.setHintTextColor(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.

See also

Applies to

SetHintTextColor(ColorStateList)

Sets the color of the hint text.

[Android.Runtime.Register("setHintTextColor", "(Landroid/content/res/ColorStateList;)V", "")]
public void SetHintTextColor(Android.Content.Res.ColorStateList? colors);
[<Android.Runtime.Register("setHintTextColor", "(Landroid/content/res/ColorStateList;)V", "")>]
member this.SetHintTextColor : Android.Content.Res.ColorStateList -> unit

Parameters

colors
ColorStateList

ColorStateList

Attributes

Remarks

Sets the color of the hint text.

Java documentation for android.widget.TextView.setHintTextColor(android.content.res.ColorStateList).

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.

See also

Applies to