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

ConstraintSetScope

class ConstraintSetScope : ConstraintLayoutBaseScope
kotlin.Any
   ↳ androidx.ui.layout.ConstraintLayoutBaseScope
   ↳ androidx.ui.layout.ConstraintSetScope

Scope used by the ConstraintSet DSL.

Summary

Public methods
ConstrainScope
constrain(ref: ConstrainedLayoutReference, constrainBlock: ConstrainScope.() -> Unit)

Specifies the constraints associated to the layout identified with ref.

ConstrainedLayoutReference

Creates one ConstrainedLayoutReference corresponding to the ConstraintLayout element with id.

Inherited functions
Inherited properties

Public methods

constrain

fun constrain(
    ref: ConstrainedLayoutReference,
    constrainBlock: ConstrainScope.() -> Unit
): ConstrainScope

Specifies the constraints associated to the layout identified with ref.

createRefFor

fun createRefFor(id: Any): ConstrainedLayoutReference

Creates one ConstrainedLayoutReference corresponding to the ConstraintLayout element with id.