Android.Views.ViewGroup.GetChildMeasureSpec Method
Does the hard part of measureChildren: figuring out the MeasureSpec to pass to a particular child.

Syntax

[Android.Runtime.Register("getChildMeasureSpec", "(III)I", "")]
public static int GetChildMeasureSpec (int spec, int padding, int childDimension)

Parameters

spec
The requirements for this view
padding
The padding of this view for the current dimension and margins, if applicable
childDimension
How big the child wants to be in the current dimension

Returns

Documentation for this section has not yet been entered.

Remarks

Does the hard part of measureChildren: figuring out the MeasureSpec to pass to a particular child. This method figures out the right MeasureSpec for one dimension (height or width) of one child view. The goal is to combine information from our MeasureSpec with the LayoutParams of the child to get the best possible results. For example, if the this view knows its size (because its MeasureSpec has a mode of EXACTLY), and the child has indicated in its LayoutParams that it wants to be the same size as the parent, the parent should ask the child to layout given an exact size.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1