Udostępnij za pośrednictwem


View.MeasureSpec.GetMode(Int32) Method

Definition

Extracts the mode from the supplied measure specification.

[Android.Runtime.Register("getMode", "(I)I", "")]
public static Android.Views.MeasureSpecMode GetMode (int measureSpec);
[<Android.Runtime.Register("getMode", "(I)I", "")>]
static member GetMode : int -> Android.Views.MeasureSpecMode

Parameters

measureSpec
Int32

the measure specification to extract the mode from

Returns

android.view.View.MeasureSpec#UNSPECIFIED, android.view.View.MeasureSpec#AT_MOST or android.view.View.MeasureSpec#EXACTLY

Attributes

Remarks

Extracts the mode from the supplied measure specification.

Java documentation for android.view.View.MeasureSpec.getMode(int).

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