Share via


View.IOnLayoutChangeListener.OnLayoutChange Method

Definition

Called when the layout bounds of a view changes due to layout processing.

[Android.Runtime.Register("onLayoutChange", "(Landroid/view/View;IIIIIIII)V", "GetOnLayoutChange_Landroid_view_View_IIIIIIIIHandler:Android.Views.View/IOnLayoutChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnLayoutChange (Android.Views.View? v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom);
[<Android.Runtime.Register("onLayoutChange", "(Landroid/view/View;IIIIIIII)V", "GetOnLayoutChange_Landroid_view_View_IIIIIIIIHandler:Android.Views.View/IOnLayoutChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnLayoutChange : Android.Views.View * int * int * int * int * int * int * int * int -> unit

Parameters

v
View

The view whose bounds have changed.

left
Int32

The new value of the view's left property.

top
Int32

The new value of the view's top property.

right
Int32

The new value of the view's right property.

bottom
Int32

The new value of the view's bottom property.

oldLeft
Int32

The previous value of the view's left property.

oldTop
Int32

The previous value of the view's top property.

oldRight
Int32

The previous value of the view's right property.

oldBottom
Int32

The previous value of the view's bottom property.

Attributes

Remarks

Called when the layout bounds of a view changes due to layout processing.

Java documentation for android.view.View.OnLayoutChangeListener.onLayoutChange(android.view.View, int, int, int, int, int, int, int, int).

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