AdapterView.OnLayout(Boolean, Int32, Int32, Int32, Int32) AdapterView.OnLayout(Boolean, Int32, Int32, Int32, Int32) Method

Definition

Called from layout when this view should assign a size and position to each of its children.

[Android.Runtime.Register("onLayout", "(ZIIII)V", "GetOnLayout_ZIIIIHandler")]
protected override void OnLayout (bool changed, int left, int top, int right, int bottom);
override this.OnLayout : bool * int * int * int * int -> unit

Parameters

changed
Boolean Boolean

This is a new size or position for this view

left
Int32 Int32

Left position, relative to parent

top
Int32 Int32

Top position, relative to parent

right
Int32 Int32

Right position, relative to parent

bottom
Int32 Int32

Bottom position, relative to parent

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