View.ResolveSizeAndState(Int32, Int32, Int32) View.ResolveSizeAndState(Int32, Int32, Int32) Method

Definition

Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec.

[Android.Runtime.Register("resolveSizeAndState", "(III)I", "", ApiSince=11)]
public static int ResolveSizeAndState (int size, int measureSpec, int childMeasuredState);
static member ResolveSizeAndState : int * int * int -> int

Parameters

size
Int32 Int32

How big the view wants to be.

measureSpec
Int32 Int32

Constraints imposed by the parent.

childMeasuredState
Int32 Int32

Size information bit mask for the view's children.

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