- size
- the size of the measure specification
- mode
- the mode of the measure specification
Documentation for this section has not yet been entered.
Creates a measure specification based on the supplied size and mode. The mode must always be one of the following:
Note: On API level 17 and lower, makeMeasureSpec's implementation was such that the order of arguments did not matter and overflow in either value could impact the resulting MeasureSpec. Android.Widget.RelativeLayout was affected by this bug. Apps targeting API levels greater than 17 will get the fixed, more strict behavior.