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

androidx.ui.layout.constraintlayout

Classes

ConstraintSet

Immutable description of the constraints used to layout the children of a ConstraintLayout.

ConstraintSetBuilderScope

Builder scope for a ConstraintSet.

Top-level functions summary

Unit
ConstraintLayout(constraintSet: ConstraintSet, children: () -> Unit)

Layout that positions its children according to the constraints between them.

Top-level functions

ConstraintLayout

@Composable fun ConstraintLayout(
    constraintSet: ConstraintSet,
    children: () -> Unit
): Unit

Layout that positions its children according to the constraints between them.