measure

fun measure(widthSpec: Int, heightSpec: Int, frameWidth: Int, frameHeight: Int): Point

Measure desired layout size based off provided parameters

Parameters

widthSpec

: Int - Width value provided by View.onMeasure

heightSpec

: Int - Height value provided by View.onMeasure

frameWidth

: Int - Most recent frame width

frameHeight

: Int - Most recent frame height