Google is committed to advancing racial equity for Black communities. See how.

ConstrainedLayoutReference

class ConstrainedLayoutReference
kotlin.Any
   ↳ androidx.ui.layout.ConstrainedLayoutReference

Represents a layout within a ConstraintLayout.

Summary

Public constructors
<init>(id: Any)

Represents a layout within a ConstraintLayout.

Properties
ConstraintLayoutBaseScope.VerticalAnchor

The left anchor of this layout.

ConstraintLayoutBaseScope.VerticalAnchor

The right anchor of this layout.

ConstraintLayoutBaseScope.BaselineAnchor

The baseline anchor of this layout.

ConstraintLayoutBaseScope.HorizontalAnchor

The bottom anchor of this layout.

ConstraintLayoutBaseScope.VerticalAnchor

The end anchor of this layout.

Any

ConstraintLayoutBaseScope.VerticalAnchor

The start anchor of this layout.

ConstraintLayoutBaseScope.HorizontalAnchor

The top anchor of this layout.

Public constructors

<init>

ConstrainedLayoutReference(id: Any)

Represents a layout within a ConstraintLayout.

Properties

absoluteLeft

val absoluteLeft: ConstraintLayoutBaseScope.VerticalAnchor

The left anchor of this layout.

absoluteRight

val absoluteRight: ConstraintLayoutBaseScope.VerticalAnchor

The right anchor of this layout.

baseline

val baseline: ConstraintLayoutBaseScope.BaselineAnchor

The baseline anchor of this layout.

bottom

val bottom: ConstraintLayoutBaseScope.HorizontalAnchor

The bottom anchor of this layout.

end

val end: ConstraintLayoutBaseScope.VerticalAnchor

The end anchor of this layout. Represents right in LTR layout direction, or left in RTL.

id

val id: Any

start

val start: ConstraintLayoutBaseScope.VerticalAnchor

The start anchor of this layout. Represents left in LTR layout direction, or right in RTL.

top

val top: ConstraintLayoutBaseScope.HorizontalAnchor

The top anchor of this layout.