次の方法で共有


View.KeyboardNavigationClusterSearch(View, FocusSearchDirection) Method

Definition

Find the nearest keyboard navigation cluster in the specified direction.

[Android.Runtime.Register("keyboardNavigationClusterSearch", "(Landroid/view/View;I)Landroid/view/View;", "GetKeyboardNavigationClusterSearch_Landroid_view_View_IHandler", ApiSince=26)]
public virtual Android.Views.View? KeyboardNavigationClusterSearch (Android.Views.View? currentCluster, Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("keyboardNavigationClusterSearch", "(Landroid/view/View;I)Landroid/view/View;", "GetKeyboardNavigationClusterSearch_Landroid_view_View_IHandler", ApiSince=26)>]
abstract member KeyboardNavigationClusterSearch : Android.Views.View * Android.Views.FocusSearchDirection -> Android.Views.View
override this.KeyboardNavigationClusterSearch : Android.Views.View * Android.Views.FocusSearchDirection -> Android.Views.View

Parameters

currentCluster
View

The starting point of the search. Null means the current cluster is not found yet

direction
FocusSearchDirection

Direction to look

Returns

The nearest keyboard navigation cluster in the specified direction, or null if none can be found

Attributes

Remarks

Find the nearest keyboard navigation cluster in the specified direction. This does not actually give focus to that cluster.

Java documentation for android.view.View.keyboardNavigationClusterSearch(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