Sdílet prostřednictvím


AssistStructure.ViewNode.TextColor Property

Definition

If #getText() is non-null, this is the main text color associated with it.

public virtual int TextColor { [Android.Runtime.Register("getTextColor", "()I", "GetGetTextColorHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getTextColor", "()I", "GetGetTextColorHandler", ApiSince=23)>]
member this.TextColor : int

Property Value

Attributes

Remarks

If #getText() is non-null, this is the main text color associated with it. If there is no text color, #TEXT_COLOR_UNDEFINED is returned. Note that the text may also contain style spans that modify the color of specific parts of the text.

Java documentation for android.app.assist.AssistStructure.ViewNode.getTextColor().

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.

Applies to