Dela via


TextView.MinWidth Property

Definition

Returns the minimum width of TextView in terms of pixels or -1 if the minimum width was set using #setMinEms(int) or #setEms(int).

public virtual int MinWidth { [Android.Runtime.Register("getMinWidth", "()I", "GetGetMinWidthHandler")] get; }
[<get: Android.Runtime.Register("getMinWidth", "()I", "GetGetMinWidthHandler")>]
member this.MinWidth : int

Property Value

the minimum width of TextView in terms of pixels or -1 if the minimum width is not defined in pixels

Attributes

Remarks

Returns the minimum width of TextView in terms of pixels or -1 if the minimum width was set using #setMinEms(int) or #setEms(int).

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

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

See also