Compartilhar via


TextView.SetHorizontallyScrolling(Boolean) Method

Definition

Sets whether the text should be allowed to be wider than the View is.

[Android.Runtime.Register("setHorizontallyScrolling", "(Z)V", "GetSetHorizontallyScrolling_ZHandler")]
public virtual void SetHorizontallyScrolling (bool whether);
[<Android.Runtime.Register("setHorizontallyScrolling", "(Z)V", "GetSetHorizontallyScrolling_ZHandler")>]
abstract member SetHorizontallyScrolling : bool -> unit
override this.SetHorizontallyScrolling : bool -> unit

Parameters

whether
Boolean
Attributes

Remarks

Sets whether the text should be allowed to be wider than the View is. If false, it will be wrapped to the width of the View.

Java documentation for android.widget.TextView.setHorizontallyScrolling(boolean).

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