Added in API level 11
View.OnLayoutChangeListener
public
static
interface
View.OnLayoutChangeListener
android.view.View.OnLayoutChangeListener |
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
onLayoutChange
Added in API level 11
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 |
View : The view whose bounds have changed. |
left |
int : The new value of the view's left property. |
top |
int : The new value of the view's top property. |
right |
int : The new value of the view's right property. |
bottom |
int : The new value of the view's bottom property. |
oldLeft |
int : The previous value of the view's left property. |
oldTop |
int : The previous value of the view's top property. |
oldRight |
int : The previous value of the view's right property. |
oldBottom |
int : The previous value of the view's bottom property. |