FocusFinder.FindNextFocus(ViewGroup, View, FocusSearchDirection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.