setConstraintWidth

Sets the constraint width for the View inside a ConstraintLayout to the given width. If width is null, the width is set to ConstraintLayout.LayoutParams.MATCH_CONSTRAINT.

Throws