View.MeasureSpec.MakeMeasureSpec(Int32, MeasureSpecMode) Method

Definition

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

Int32
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.

Applies to