TextView.GetTextColors(Context, TypedArray) Methode

Definition

Gibt das attribut TextView_textColor aus typedArray zurück, falls festgelegt, oder das TextAppearance_textColor aus dem attribut TextView_textAppearance, wenn TextView_textColor nicht direkt festgelegt wurde.

[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

Parameter

context
Context
attrs
TypedArray

Gibt zurück

Attribute

Hinweise

Gibt das attribut TextView_textColor aus typedArray zurück, falls festgelegt, oder das TextAppearance_textColor aus dem attribut TextView_textAppearance, wenn TextView_textColor nicht direkt festgelegt wurde.

Java-Dokumentation für android.widget.TextView.getTextColors(android.content.Context, android.content.res.TypedArray).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: