onLayoutChange

open fun onLayoutChange(view: View, i: Int, i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int)

Called when the layout bounds of this menu item change. Recalculates the submenu indicator sizes to ensure they are correctly positioned within the new bounds.

Parameters

view

The view whose bounds have changed.

i

The new left position.

i1

The new top position.

i2

The new right position.

i3

The new bottom position.

i4

The old left position.

i5

The old top position.

i6

The old right position.

i7

The old bottom position.