Share via


ViewGroup.RequestChildFocus(View, View) Method

Definition

Called when a child of this parent wants focus

[Android.Runtime.Register("requestChildFocus", "(Landroid/view/View;Landroid/view/View;)V", "GetRequestChildFocus_Landroid_view_View_Landroid_view_View_Handler")]
public virtual void RequestChildFocus (Android.Views.View? child, Android.Views.View? focused);
[<Android.Runtime.Register("requestChildFocus", "(Landroid/view/View;Landroid/view/View;)V", "GetRequestChildFocus_Landroid_view_View_Landroid_view_View_Handler")>]
abstract member RequestChildFocus : Android.Views.View * Android.Views.View -> unit
override this.RequestChildFocus : Android.Views.View * Android.Views.View -> unit

Parameters

child
View

The child of this ViewParent that wants focus. This view will contain the focused view. It is not necessarily the view that actually has focus.

focused
View

The view that is a descendant of child that actually has focus

Implements

Attributes

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