MeasureSpecMode MeasureSpecMode Enum

Definition

F:Android.Views.View+MeasureSpec.MakeMeasureSpec

public enum MeasureSpecMode
type MeasureSpecMode = 
Inheritance
MeasureSpecModeMeasureSpecMode

Fields

AtMost AtMost -2147483648

Measure specification mode: The child can be as large as it wants up to the specified size.

Exactly Exactly 1073741824

Measure specification mode: The parent has determined an exact size for the child.

Unspecified Unspecified 0

Measure specification mode: The parent has not imposed any constraint on the child.

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