Udostępnij za pośrednictwem


AssistStructure.ViewNode.TextSize Property

Definition

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

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

Property Value

Attributes

Remarks

If #getText() is non-null, this is the main text size (in pixels) associated with it. Note that the text may also contain style spans that modify the size of specific parts of the text.

It's only relevant when the AssistStructure is used for assist purposes, not for autofill purposes.

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

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