TextView.SetHintTextColor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
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
- 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
- HintTextColors
- SetHintTextColor(Color)
- SetTextColor(ColorStateList)
- SetLinkTextColor(ColorStateList)
Applies to
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
- 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.