Partager via


ViewGroup.RequestChildRectangleOnScreen(View, Rect, Boolean) Method

Definition

Called when a child of this group wants a particular rectangle to be positioned onto the screen.

[Android.Runtime.Register("requestChildRectangleOnScreen", "(Landroid/view/View;Landroid/graphics/Rect;Z)Z", "GetRequestChildRectangleOnScreen_Landroid_view_View_Landroid_graphics_Rect_ZHandler")]
public virtual bool RequestChildRectangleOnScreen (Android.Views.View? child, Android.Graphics.Rect? rectangle, bool immediate);
[<Android.Runtime.Register("requestChildRectangleOnScreen", "(Landroid/view/View;Landroid/graphics/Rect;Z)Z", "GetRequestChildRectangleOnScreen_Landroid_view_View_Landroid_graphics_Rect_ZHandler")>]
abstract member RequestChildRectangleOnScreen : Android.Views.View * Android.Graphics.Rect * bool -> bool
override this.RequestChildRectangleOnScreen : Android.Views.View * Android.Graphics.Rect * bool -> bool

Parameters

child
View

The direct child making the request.

rectangle
Rect

The rectangle in the child's coordinates the child wishes to be on the screen.

immediate
Boolean

True to forbid animated or delayed scrolling, false otherwise

Returns

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