Android Guides | Samples

Android.Views.MeasureSpecMode Enumeration

Enumerates values returned by several types and taken as a parameter of the View+MeasureSpec.MakeMeasureSpec member.

Syntax

public enum MeasureSpecMode

Remarks

Enumerates values returned by the following: and taken as a parameter of the View+MeasureSpec.MakeMeasureSpec member.

Members

Member NameDescription
AtMostMeasure specification mode: The child can be as large as it wants up to the specified size.
ExactlyMeasure specification mode: The parent has determined an exact size for the child. The child is going to be given those bounds regardless of how big it wants to be.
UnspecifiedMeasure specification mode: The parent has not imposed any constraint on the child. It can be whatever size it wants.

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Views.MeasureSpecMode are listed below.

See Also: Enum

Public Fields

AtMostMeasureSpecMode. Measure specification mode: The child can be as large as it wants up to the specified size.
ExactlyMeasureSpecMode. Measure specification mode: The parent has determined an exact size for the child. The child is going to be given those bounds regardless of how big it wants to be.
UnspecifiedMeasureSpecMode. Measure specification mode: The parent has not imposed any constraint on the child. It can be whatever size it wants.