public void setMeasuredDimension(Rect childrenBounds, int wSpec, int hSpec) { int usedWidth = childrenBounds.width getPaddingBottom(); int width = chooseSize(wSpec, usedWidth, getMinimumWidth()); int height = chooseSize(hSpec