to top
Android APIs
Added in API level 11
public static interface

View.OnLayoutChangeListener

android.view.View.OnLayoutChangeListener

Class Overview

Interface definition for a callback to be invoked when the layout bounds of a view changes due to layout processing.

Summary

Public Methods
abstract void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom)
Called when the layout bounds of a view changes due to layout processing.

Public Methods

public abstract void onLayoutChange (View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom)

Added in API level 11

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

Parameters
v The view whose bounds have changed.
left The new value of the view's left property.
top The new value of the view's top property.
right The new value of the view's right property.
bottom The new value of the view's bottom property.
oldLeft The previous value of the view's left property.
oldTop The previous value of the view's top property.
oldRight The previous value of the view's right property.
oldBottom The previous value of the view's bottom property.