Stay organized with collections Save and categorize content based on your preferences.

ConstrainedLayoutReference

@Stable class ConstrainedLayoutReference
kotlin.Any
   ↳ androidx.constraintlayout.compose.ConstrainedLayoutReference

Represents a layout within a ConstraintLayout.

Summary

Public constructors

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

ConstrainedLayoutReference

ConstrainedLayoutReference(id: Any)

Represents a layout within a ConstraintLayout.

Properties

absoluteLeft

@Stable val absoluteLeft: ConstraintLayoutBaseScope.VerticalAnchor

The left anchor of this layout.

absoluteRight

@Stable val absoluteRight: ConstraintLayoutBaseScope.VerticalAnchor

The right anchor of this layout.

baseline

@Stable val baseline: ConstraintLayoutBaseScope.BaselineAnchor

The baseline anchor of this layout.

bottom

@Stable val bottom: ConstraintLayoutBaseScope.HorizontalAnchor

The bottom anchor of this layout.

end

@Stable 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

@Stable val start: ConstraintLayoutBaseScope.VerticalAnchor

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

top

@Stable val top: ConstraintLayoutBaseScope.HorizontalAnchor

The top anchor of this layout.