View.MeasureSpec.MakeMeasureSpec(Int32, MeasureSpecMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a measure specification based on the supplied size and mode.
[Android.Runtime.Register("makeMeasureSpec", "(II)I", "")]
public static int MakeMeasureSpec (int size, Android.Views.MeasureSpecMode mode);
[<Android.Runtime.Register("makeMeasureSpec", "(II)I", "")>]
static member MakeMeasureSpec : int * Android.Views.MeasureSpecMode -> int
Parameters
- size
- Int32
the size of the measure specification
- mode
- MeasureSpecMode
the mode of the measure specification
Returns
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.