View.OnSizeChanged(Int32, Int32, Int32, Int32) View.OnSizeChanged(Int32, Int32, Int32, Int32) Method

Definition

This is called during layout when the size of this view has changed.

[Android.Runtime.Register("onSizeChanged", "(IIII)V", "GetOnSizeChanged_IIIIHandler")]
protected virtual void OnSizeChanged (int w, int h, int oldw, int oldh);
abstract member OnSizeChanged : int * int * int * int -> unit
override this.OnSizeChanged : int * int * int * int -> unit

Parameters

w
Int32 Int32

Current width of this view.

h
Int32 Int32

Current height of this view.

oldw
Int32 Int32

Old width of this view.

oldh
Int32 Int32

Old height of this view.

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