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

BarrierAnchor

class BarrierAnchor : ConstraintSetBuilderScope.HorizontalAnchor
kotlin.Any
   ↳ androidx.ui.layout.constraintlayout.ConstraintSetBuilderScope.HorizontalAnchor
   ↳ androidx.ui.layout.constraintlayout.ConstraintSetBuilderScope.HorizontalAnchor.BarrierAnchor

Anchor corresponding to a top or bottom barrier.

Summary

Properties

Dp

Properties

margin

var margin: Dp