See Also: View+MeasureSpec
public class View.MeasureSpec : Object
A MeasureSpec encapsulates the layout requirements passed from parent to child. Each MeasureSpec represents a requirement for either the width or the height. A MeasureSpec is comprised of a size and a mode. There are three possible modes:
- The parent has not imposed any constraint on the child. It can be whatever size it wants.
- 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.
- The child can be as large as it wants up to the specified size.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Android.Views.View.MeasureSpec are listed below.
See Also: Object
Extracts the mode from the supplied measure specification.
Extracts the size from the supplied measure specification.
Creates a measure specification based on the supplied size and mode.
Returns a String representation of the specified measure specification.