Freigeben über


MeasureSpecMode Enum

Definition

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

public enum MeasureSpecMode
type MeasureSpecMode = 
Inheritance
MeasureSpecMode

Fields

Name Value Description
AtMost -2147483648

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

Unspecified 0

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

Exactly 1073741824

Measure specification mode: The parent has determined an exact size for 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