onLayout

abstract fun onLayout(viewGroup: ViewGroup, changed: Boolean, left: Int, top: Int, right: Int, bottom: Int)

Updates gesture tracking after viewGroup is laid out.

Parameters

changed

whether the layout bounds changed.

left

left bound in parent coordinates.

top

top bound in parent coordinates.

right

right bound in parent coordinates.

bottom

bottom bound in parent coordinates.