LayoutRules Enum

Definition

public enum LayoutRules
type LayoutRules = 
Inheritance
LayoutRules

Fields

Above 2

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

AlignBaseline 4

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

AlignBottom 8

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

AlignEnd 19

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

AlignLeft 5

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

AlignParentBottom 12

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

AlignParentEnd 21

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

AlignParentLeft 9

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

AlignParentRight 11

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

AlignParentStart 20

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

AlignParentTop 10

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

AlignRight 7

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

AlignStart 18

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

AlignTop 6

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

Below 3

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

CenterHorizontal 14

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

CenterInParent 13

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

CenterVertical 15

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

EndOf 17

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

LeftOf 0

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

RightOf 1

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

StartOf 16

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

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