arrange

abstract fun arrange(totalSize: Int, sizes: IntArray, outPositions: IntArray)

Vertically places the layout children.

Parameters

totalSize

Available space that can be occupied by the children, in pixels.

sizes

An array of sizes of all children, in pixels.

outPositions

An array of the size of sizes that returns the calculated positions relative to the top, in pixels.