be as large as it wants up to the specified size. EXACTLY - The parent has determined an exact size for the child. The child is going to be given those bounds regardless of how big it wants to be. UNSPECIFIED - The parent has not imposed any constraint on the child. It can be whatever size it wants. size (px)
int parentWidthMeasureSpec, int parentHeightMeasureSpec) measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed)