ViewGroup.GetChildMeasureSpec(Int32, Int32, Int32) ViewGroup.GetChildMeasureSpec(Int32, Int32, Int32) Method

Definition

Does the hard part of measureChildren: figuring out the MeasureSpec to pass to a particular child.

[Android.Runtime.Register("getChildMeasureSpec", "(III)I", "")]
public static int GetChildMeasureSpec (int spec, int padding, int childDimension);
static member GetChildMeasureSpec : int * int * int -> int

Parameters

spec
Int32 Int32

The requirements for this view

padding
Int32 Int32

The padding of this view for the current dimension and margins, if applicable

childDimension
Int32 Int32

How big the child wants to be in the current dimension

Returns

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