Android.Views.ViewGroup.RequestChildRectangleOnScreen Method
Called when a child of this group wants a particular rectangle to be positioned onto the screen.

Syntax

[Android.Runtime.Register("requestChildRectangleOnScreen", "(Landroid/view/View;Landroid/graphics/Rect;Z)Z", "GetRequestChildRectangleOnScreen_Landroid_view_View_Landroid_graphics_Rect_ZHandler")]
public virtual bool RequestChildRectangleOnScreen (View child, Android.Graphics.Rect rectangle, bool immediate)

Parameters

child
The direct child making the request.
rectangle
The rectangle in the child's coordinates the child wishes to be on the screen.
immediate
True to forbid animated or delayed scrolling, false otherwise

Returns

Documentation for this section has not yet been entered.

Remarks

Called when a child of this group wants a particular rectangle to be positioned onto the screen. Android.Views.ViewGroups overriding this can trust that:

  • child will be a direct child of this group
  • rectangle will be in the child's coordinates

Android.Views.ViewGroups overriding this should uphold the contract:

  • nothing will change if the rectangle is already visible
  • the view port will be scrolled only just enough to make the rectangle visible

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1