Android Guides | Samples

Android.Widget.LayoutRules Enumeration

Enumerates values returned by several methods of LayoutRules and taken as a parameter of the RelativeLayout+LayoutParams.AddRule, RelativeLayout+LayoutParams.AddRule, and RelativeLayout+LayoutParams.RemoveRule members.

Syntax

public enum LayoutRules

Remarks

Members

Member NameDescription
AboveRule that aligns a child's bottom edge with another child's top edge.
AlignBaselineRule that aligns a child's baseline with another child's baseline.
AlignBottomRule that aligns a child's bottom edge with another child's bottom edge.
AlignEndRule that aligns a child's end edge with another child's end edge.
AlignLeftRule that aligns a child's left edge with another child's left edge.
AlignParentBottomRule that aligns the child's bottom edge with its RelativeLayout parent's bottom edge.
AlignParentEndRule that aligns the child's end edge with its RelativeLayout parent's end edge.
AlignParentLeftRule that aligns the child's left edge with its RelativeLayout parent's left edge.
AlignParentRightRule that aligns the child's right edge with its RelativeLayout parent's right edge.
AlignParentStartRule that aligns the child's start edge with its RelativeLayout parent's start edge.
AlignParentTopRule that aligns the child's top edge with its RelativeLayout parent's top edge.
AlignRightRule that aligns a child's right edge with another child's right edge.
AlignStartRule that aligns a child's start edge with another child's start edge.
AlignTopRule that aligns a child's top edge with another child's top edge.
BelowRule that aligns a child's top edge with another child's bottom edge.
CenterHorizontalRule that centers the child horizontally with respect to the bounds of its RelativeLayout parent.
CenterInParentRule that centers the child with respect to the bounds of its RelativeLayout parent.
CenterVerticalRule that centers the child vertically with respect to the bounds of its RelativeLayout parent.
EndOfRule that aligns a child's start edge with another child's end edge.
LeftOfRule that aligns a child's right edge with another child's left edge.
RightOfRule that aligns a child's left edge with another child's right edge.
StartOfRule that aligns a child's end edge with another child's start edge.
True

Requirements

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

The members of Android.Widget.LayoutRules are listed below.

See Also: Enum

Public Fields

AboveLayoutRules. Rule that aligns a child's bottom edge with another child's top edge.
AlignBaselineLayoutRules. Rule that aligns a child's baseline with another child's baseline.
AlignBottomLayoutRules. Rule that aligns a child's bottom edge with another child's bottom edge.
AlignEndLayoutRules. Rule that aligns a child's end edge with another child's end edge.
AlignLeftLayoutRules. Rule that aligns a child's left edge with another child's left edge.
AlignParentBottomLayoutRules. Rule that aligns the child's bottom edge with its RelativeLayout parent's bottom edge.
AlignParentEndLayoutRules. Rule that aligns the child's end edge with its RelativeLayout parent's end edge.
AlignParentLeftLayoutRules. Rule that aligns the child's left edge with its RelativeLayout parent's left edge.
AlignParentRightLayoutRules. Rule that aligns the child's right edge with its RelativeLayout parent's right edge.
AlignParentStartLayoutRules. Rule that aligns the child's start edge with its RelativeLayout parent's start edge.
AlignParentTopLayoutRules. Rule that aligns the child's top edge with its RelativeLayout parent's top edge.
AlignRightLayoutRules. Rule that aligns a child's right edge with another child's right edge.
AlignStartLayoutRules. Rule that aligns a child's start edge with another child's start edge.
AlignTopLayoutRules. Rule that aligns a child's top edge with another child's top edge.
BelowLayoutRules. Rule that aligns a child's top edge with another child's bottom edge.
CenterHorizontalLayoutRules. Rule that centers the child horizontally with respect to the bounds of its RelativeLayout parent.
CenterInParentLayoutRules. Rule that centers the child with respect to the bounds of its RelativeLayout parent.
CenterVerticalLayoutRules. Rule that centers the child vertically with respect to the bounds of its RelativeLayout parent.
EndOfLayoutRules. Rule that aligns a child's start edge with another child's end edge.
LeftOfLayoutRules. Rule that aligns a child's right edge with another child's left edge.
RightOfLayoutRules. Rule that aligns a child's left edge with another child's right edge.
StartOfLayoutRules. Rule that aligns a child's end edge with another child's start edge.
TrueLayoutRules.