Android.Views.ViewGroup.OnLayout Method
Called from layout when this view should assign a size and position to each of its children.

Syntax

[Android.Runtime.Register("onLayout", "(ZIIII)V", "GetOnLayout_ZIIIIHandler")]
protected abstract void OnLayout (bool changed, int l, int t, int r, int b)

Parameters

changed
This is a new size or position for this view
l
Left position, relative to parent
t
Top position, relative to parent
r
Right position, relative to parent
b
Bottom position, relative to parent

Remarks

Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children.

[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