Sdílet prostřednictvím


View.MeasureSpec.GetSize(Int32) Method

Definition

Extracts the size from the supplied measure specification.

[Android.Runtime.Register("getSize", "(I)I", "")]
public static int GetSize (int measureSpec);
[<Android.Runtime.Register("getSize", "(I)I", "")>]
static member GetSize : int -> int

Parameters

measureSpec
Int32

the measure specification to extract the size from

Returns

the size in pixels defined in the supplied measure specification

Attributes

Remarks

Extracts the size from the supplied measure specification.

Java documentation for android.view.View.MeasureSpec.getSize(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