Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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)

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.