次の方法で共有


TextView.MinLines Property

Definition

Returns the minimum height of TextView in terms of number of lines or -1 if the minimum height was set using #setMinHeight(int) or #setHeight(int).

public virtual int MinLines { [Android.Runtime.Register("getMinLines", "()I", "GetGetMinLinesHandler")] get; }
[<get: Android.Runtime.Register("getMinLines", "()I", "GetGetMinLinesHandler")>]
member this.MinLines : int

Property Value

the minimum height of TextView in terms of number of lines or -1 if the minimum height is not defined in lines

Attributes

Remarks

Returns the minimum height of TextView in terms of number of lines or -1 if the minimum height was set using #setMinHeight(int) or #setHeight(int).

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

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