- 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)
Ask one of the children of this view to measure itself, taking into account both the MeasureSpec requirements for this view and its padding and margins. The child must have MarginLayoutParams The heavy lifting is done in getChildMeasureSpec.