Sdílet prostřednictvím


ViewStructure.SetMinTextEms(Int32) Method

Definition

Sets the minimum width in ems of the text associated with this view, when supported.

[Android.Runtime.Register("setMinTextEms", "(I)V", "GetSetMinTextEms_IHandler", ApiSince=28)]
public virtual void SetMinTextEms (int minEms);
[<Android.Runtime.Register("setMinTextEms", "(I)V", "GetSetMinTextEms_IHandler", ApiSince=28)>]
abstract member SetMinTextEms : int -> unit
override this.SetMinTextEms : int -> unit

Parameters

minEms
Int32
Attributes

Remarks

Sets the minimum width in ems of the text associated with this view, when supported.

Should only be set when the node is used for autofill purposes - it will be ignored when used for Assist.

Java documentation for android.view.ViewStructure.setMinTextEms(int).

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