addConstraints

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

Add constraints to a view.