LayoutRules LayoutRules Enum

Definition

public enum LayoutRules
type LayoutRules = 
Inheritance
LayoutRulesLayoutRules

Fields

Above Above 2

Rule that aligns a child's bottom edge with another child's top edge.

AlignBaseline AlignBaseline 4

Rule that aligns a child's baseline with another child's baseline.

AlignBottom AlignBottom 8

Rule that aligns a child's bottom edge with another child's bottom edge.

AlignEnd AlignEnd 19

Rule that aligns a child's end edge with another child's end edge.

AlignLeft AlignLeft 5

Rule that aligns a child's left edge with another child's left edge.

AlignParentBottom AlignParentBottom 12

Rule that aligns the child's bottom edge with its RelativeLayout parent's bottom edge.

AlignParentEnd AlignParentEnd 21

Rule that aligns the child's end edge with its RelativeLayout parent's end edge.

AlignParentLeft AlignParentLeft 9

Rule that aligns the child's left edge with its RelativeLayout parent's left edge.

AlignParentRight AlignParentRight 11

Rule that aligns the child's right edge with its RelativeLayout parent's right edge.

AlignParentStart AlignParentStart 20

Rule that aligns the child's start edge with its RelativeLayout parent's start edge.

AlignParentTop AlignParentTop 10

Rule that aligns the child's top edge with its RelativeLayout parent's top edge.

AlignRight AlignRight 7

Rule that aligns a child's right edge with another child's right edge.

AlignStart AlignStart 18

Rule that aligns a child's start edge with another child's start edge.

AlignTop AlignTop 6

Rule that aligns a child's top edge with another child's top edge.

Below Below 3

Rule that aligns a child's top edge with another child's bottom edge.

CenterHorizontal CenterHorizontal 14

Rule that centers the child horizontally with respect to the bounds of its RelativeLayout parent.

CenterInParent CenterInParent 13

Rule that centers the child with respect to the bounds of its RelativeLayout parent.

CenterVertical CenterVertical 15

Rule that centers the child vertically with respect to the bounds of its RelativeLayout parent.

EndOf EndOf 17

Rule that aligns a child's start edge with another child's end edge.

LeftOf LeftOf 0

Rule that aligns a child's right edge with another child's left edge.

RightOf RightOf 1

Rule that aligns a child's left edge with another child's right edge.

StartOf StartOf 16

Rule that aligns a child's end edge with another child's start edge.

True True -1

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