constrainToParent

fun <T : View> T.constrainToParent(parent: ConstraintLayout)

Constrain a view to the top, bottom, start, and end of its parent.