Condividi tramite


TextView.TextSizeUnit Property

Definition

Gets the text size unit defined by the developer.

public virtual int TextSizeUnit { [Android.Runtime.Register("getTextSizeUnit", "()I", "GetGetTextSizeUnitHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getTextSizeUnit", "()I", "GetGetTextSizeUnitHandler", ApiSince=30)>]
member this.TextSizeUnit : int

Property Value

the dimension type of the text size unit originally defined.

Attributes

Remarks

Gets the text size unit defined by the developer. It may be specified in resources or be passed as the unit argument of #setTextSize(int, float) at runtime.

Java documentation for android.widget.TextView.getTextSizeUnit().

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