Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# View.OnLayoutChangeListener

*** ** * ** ***


`
public
static


interface
View.OnLayoutChangeListener
`


`


`

|---|
| android.view.View.OnLayoutChangeListener |

<br />

*** ** * ** ***

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` | ` https://developer.android.com/reference/android/view/View.OnLayoutChangeListener#onLayoutChange(android.view.View,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int)(https://developer.android.com/reference/android/view/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](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
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.

<br />

| Parameters ||
|---|---|
| `v` | `View`: The view whose bounds have changed. <br /> |
| `left` | `int`: The new value of the view's left property. <br /> |
| `top` | `int`: The new value of the view's top property. <br /> |
| `right` | `int`: The new value of the view's right property. <br /> |
| `bottom` | `int`: The new value of the view's bottom property. <br /> |
| `oldLeft` | `int`: The previous value of the view's left property. <br /> |
| `oldTop` | `int`: The previous value of the view's top property. <br /> |
| `oldRight` | `int`: The previous value of the view's right property. <br /> |
| `oldBottom` | `int`: The previous value of the view's bottom property. <br /> |