TextView.SetSingleLine TextView.SetSingleLine Method

Definition

Overloads

SetSingleLine(Boolean) SetSingleLine(Boolean)

If true, sets the properties of this field (number of lines, horizontally scrolling, transformation method) to be for a single-line input; if false, restores these to the default conditions.

SetSingleLine() SetSingleLine()

Sets the properties of this field (lines, horizontally scrolling, transformation method) to be for a single-line input.

SetSingleLine(Boolean) SetSingleLine(Boolean)

If true, sets the properties of this field (number of lines, horizontally scrolling, transformation method) to be for a single-line input; if false, restores these to the default conditions.

[Android.Runtime.Register("setSingleLine", "(Z)V", "GetSetSingleLine_ZHandler")]
public virtual void SetSingleLine (bool singleLine);
abstract member SetSingleLine : bool -> unit
override this.SetSingleLine : bool -> unit

Parameters

singleLine
Boolean Boolean

Remarks

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.

SetSingleLine() SetSingleLine()

Sets the properties of this field (lines, horizontally scrolling, transformation method) to be for a single-line input.

[Android.Runtime.Register("setSingleLine", "()V", "GetSetSingleLineHandler")]
public virtual void SetSingleLine ();
abstract member SetSingleLine : unit -> unit
override this.SetSingleLine : unit -> unit

Remarks

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