Android.Views.View.ResolveSizeAndState Method
Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec.

Syntax

[Android.Runtime.Register("resolveSizeAndState", "(III)I", "")]
public static int ResolveSizeAndState (int size, int measureSpec, int childMeasuredState)

Parameters

size
How big the view wants to be
measureSpec
Constraints imposed by the parent
childMeasuredState
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec. Will take the desired size, unless a different size is imposed by the constraints. The returned value is a compound integer, with the resolved size in the View.MeasuredSizeMask bits and optionally the bit View.MeasuredStateTooSmall set if the resulting size is smaller than the size the view wants to be.

[Android Documentation]

Requirements

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