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

Syntax

public enum LayoutRules

Remarks

Enumerates values returned by the following: and taken as a parameter of the RelativeLayout.LayoutParams.AddRule, RelativeLayout.LayoutParams.AddRule, and RelativeLayout.LayoutParams.RemoveRule members.

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