addConstraints

inline fun <T : View> T.addConstraints(parent: ConstraintLayout, block: ConstraintSet.(view: T) -> Unit)

Add constraints to a view.