AssistStructure.ViewNode.TextSize 属性

定义

如果 #getText() 为非 null,则这是与其关联的主文本大小(以像素为单位)。

public virtual float TextSize { [Android.Runtime.Register("getTextSize", "()F", "GetGetTextSizeHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getTextSize", "()F", "GetGetTextSizeHandler", ApiSince=23)>]
member this.TextSize : single

属性值

属性

注解

如果 #getText() 为非 null,则这是与其关联的主文本大小(以像素为单位)。 请注意,文本还可能包含修改文本特定部分大小的样式范围。

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

适用于 . 的 android.app.assist.AssistStructure.ViewNode.getTextSize()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于