TextView.SetTextColor TextView.SetTextColor Method

Definition

Overloads

SetTextColor(ColorStateList) SetTextColor(ColorStateList)

Sets the text color.

SetTextColor(Color) SetTextColor(Color)

Sets the text color for all the states (normal, selected, focused) to be this color.

SetTextColor(ColorStateList) SetTextColor(ColorStateList)

Sets the text color.

[Android.Runtime.Register("setTextColor", "(Landroid/content/res/ColorStateList;)V", "GetSetTextColor_Landroid_content_res_ColorStateList_Handler")]
public virtual void SetTextColor (Android.Content.Res.ColorStateList colors);
abstract member SetTextColor : Android.Content.Res.ColorStateList -> unit
override this.SetTextColor : Android.Content.Res.ColorStateList -> unit

Parameters

Remarks

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

SetTextColor(Color) SetTextColor(Color)

Sets the text color for all the states (normal, selected, focused) to be this color.

[Android.Runtime.Register("setTextColor", "(I)V", "GetSetTextColor_IHandler")]
public virtual void SetTextColor (Android.Graphics.Color color);
abstract member SetTextColor : Android.Graphics.Color -> unit
override this.SetTextColor : Android.Graphics.Color -> unit

Parameters

color
Color Color

Remarks

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