HorizontalScrollView.FullScroll(FocusSearchDirection) Method

Definition

Handles scrolling in response to a "home/end" shortcut press.

[Android.Runtime.Register("fullScroll", "(I)Z", "GetFullScroll_IHandler")]
public virtual bool FullScroll (Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("fullScroll", "(I)Z", "GetFullScroll_IHandler")>]
abstract member FullScroll : Android.Views.FocusSearchDirection -> bool
override this.FullScroll : Android.Views.FocusSearchDirection -> bool

Parameters

direction
FocusSearchDirection

the scroll direction: android.view.View#FOCUS_LEFT to go the left of the view or android.view.View#FOCUS_RIGHT to go the right

Returns

true if the key event is consumed by this method, false otherwise

Attributes

Remarks

Handles scrolling in response to a "home/end" shortcut press. This method will scroll the view to the left or right and give the focus to the leftmost/rightmost component in the new visible area. If no component is a good candidate for focus, this scrollview reclaims the focus.

Java documentation for android.widget.HorizontalScrollView.fullScroll(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