语言

AssistStructure.ViewNode.TextBackgroundColor 属性

定义

如果 #getText() 为非 null,则为与之关联的主文本背景色。

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

属性值

主文本背景色,或者 TextColorUndefined 未定义任何颜色。

特性

注解

如果 #getText() 为非 null,则为与之关联的主文本背景色。 如果没有文本背景色, #TEXT_COLOR_UNDEFINED 则返回。 请注意,文本还可能包含修改文本特定部分颜色的样式范围。

仅当用于辅助目的时 AssistStructure ,它才相关,而不适用于自动填充目的。

Java文档android.app.assist.AssistStructure.ViewNode.getTextBackgroundColor()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于