The second Android 11 Developer Preview is now available, test it out and share your feedback.

VerticalAnchor

sealed class VerticalAnchor
kotlin.Any
   ↳ androidx.ui.layout.constraintlayout.ConstraintSetBuilderScope.VerticalAnchor

Defines a vertical anchor which can be used for defining constraints. It can correspond:

  • to a side or baseline of a child of the ConstraintLayout
  • to a left barrier or right barrier
  • to a vertical guideline

Summary

Nested classes

Anchor corresponding to a left or right barrier.

Anchor corresponding to the left or right of a child of the ConstraintLayout.

Anchor corresponding to a vertical guideline.