ViewGroup.FocusSearch(View, FocusSearchDirection) ViewGroup.FocusSearch(View, FocusSearchDirection) Method

Definition

Find the nearest view in the specified direction that wants to take focus.

[Android.Runtime.Register("focusSearch", "(Landroid/view/View;I)Landroid/view/View;", "GetFocusSearch_Landroid_view_View_IHandler")]
public virtual Android.Views.View FocusSearch (Android.Views.View focused, Android.Views.FocusSearchDirection direction);
override this.FocusSearch : Android.Views.View * Android.Views.FocusSearchDirection -> Android.Views.View

Parameters

focused
View View

The view that currently has focus

direction
FocusSearchDirection FocusSearchDirection

One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and FOCUS_RIGHT, or 0 for not applicable.

Returns

Implements

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