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


sealed class HorizontalAnchor
   ↳ androidx.ui.layout.ConstraintSetBuilderScope.HorizontalAnchor

Defines an horizontal anchor which can be used for defining constraints. It can correspond:

  • to a side or baseline of a child of the ConstraintLayout
  • to a top or bottom barrier
  • to a horizontal guideline


Nested classes

Anchor corresponding to a top or bottom barrier.

Anchor corresponding to the top or bottom of a child of the ConstraintLayout.

Anchor corresponding to a horizontal guideline.