FocusFinder.FindNextFocus(ViewGroup, View, FocusSearchDirection) Method

Definition

Find the next view to take focus in root's descendants, starting from the view that currently is focused.

[Android.Runtime.Register("findNextFocus", "(Landroid/view/ViewGroup;Landroid/view/View;I)Landroid/view/View;", "")]
public Android.Views.View? FindNextFocus (Android.Views.ViewGroup? root, Android.Views.View? focused, Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("findNextFocus", "(Landroid/view/ViewGroup;Landroid/view/View;I)Landroid/view/View;", "")>]
member this.FindNextFocus : Android.Views.ViewGroup * Android.Views.View * Android.Views.FocusSearchDirection -> Android.Views.View

Parameters

root
ViewGroup

Contains focused. Cannot be null.

focused
View

Has focus now.

direction
FocusSearchDirection

Direction to look.

Returns

The next focusable view, or null if none exists.

Attributes

Remarks

Find the next view to take focus in root's descendants, starting from the view that currently is focused.

Java documentation for android.view.FocusFinder.findNextFocus(android.view.ViewGroup, android.view.View, 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