TextView.GetTextColors(Context, TypedArray) 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.
Returns the TextView_textColor attribute from the TypedArray, if set, or the TextAppearance_textColor from the TextView_textAppearance attribute, if TextView_textColor was not set directly.
[Android.Runtime.Register("getTextColors", "(Landroid/content/Context;Landroid/content/res/TypedArray;)Landroid/content/res/ColorStateList;", "")]
public static Android.Content.Res.ColorStateList? GetTextColors (Android.Content.Context? context, Android.Content.Res.TypedArray? attrs);
[<Android.Runtime.Register("getTextColors", "(Landroid/content/Context;Landroid/content/res/TypedArray;)Landroid/content/res/ColorStateList;", "")>]
static member GetTextColors : Android.Content.Context * Android.Content.Res.TypedArray -> Android.Content.Res.ColorStateList
Parameters
- context
- Context
- attrs
- TypedArray
Returns
- Attributes
Remarks
Returns the TextView_textColor attribute from the TypedArray, if set, or the TextAppearance_textColor from the TextView_textAppearance attribute, if TextView_textColor was not set directly.
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.