AccessibilityNodeInfo.ExtraRenderingInfo.TextSizeUnit Property        
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the text size unit if the node is a TextView, or -1 otherwise.
public int TextSizeUnit { [Android.Runtime.Register("getTextSizeUnit", "()I", "", ApiSince=30)] get; }[<get: Android.Runtime.Register("getTextSizeUnit", "()I", "", ApiSince=30)>]
member this.TextSizeUnit : intProperty Value
the text size unit which type is TypedValue#TYPE_DIMENSION of a
TextView, or -1 otherwise.
- Attributes
Remarks
Gets the text size unit if the node is a TextView, or -1 otherwise. Text size returned from #getTextSizeInPx in raw pixels may scale by factors and convert from other units. Useful for some accessibility services to understand whether the text is scalable and fits the view or not.
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.