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

BarrierAnchor

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

Anchor corresponding to a left or right barrier.

Summary

Properties

Dp

The margin to be applied to the current BarrierAnchor, in the direction of the barrier.

Properties

margin

var margin: Dp

The margin to be applied to the current BarrierAnchor, in the direction of the barrier.