onMeasureChild
open fun onMeasureChild(@NonNull child: @NonNull View, parentWidthMeasureSpec: Int, widthUsed: Int, parentHeightMeasureSpec: Int, heightUsed: Int)(source)
Called to measure each individual child view unless a Behavior is present. The Behavior may choose to delegate child measurement to this method.
Parameters
child
the child to measure
parentWidthMeasureSpec
the width requirements for this view
widthUsed
extra space that has been used up by the parent horizontally (possibly by other children of the parent)
parentHeightMeasureSpec
the height requirements for this view
heightUsed
extra space that has been used up by the parent vertically (possibly by other children of the parent)