unconstrain

abstract fun unconstrain(view: View, constraints: ConstraintDslContext.(Bounds) -> Unit): ConstraintLayout

Remove all constraints for view that were created by constraints.

Return

Layout with constraints removed

Parameters

view

being unconstrained

constraints

being removed


abstract fun unconstrain(first: View, second: View, constraints: ConstraintDslContext.(Bounds, Bounds) -> Unit): ConstraintLayout

Remove all constraints for the given Views that were created by constraints.

Return

Layout with constraints removed

Parameters

first

View being unconstrained

second

View being unconstrained

constraints

being removed


abstract fun unconstrain(first: View, second: View, third: View, constraints: ConstraintDslContext.(Bounds, Bounds, Bounds) -> Unit): ConstraintLayout

Remove all constraints for the given Views that were created by constraints.

Return

Layout with constraints removed

Parameters

first

View being unconstrained

second

View being unconstrained

third

View being unconstrained

constraints

being removed


abstract fun unconstrain(first: View, second: View, third: View, fourth: View, constraints: ConstraintDslContext.(Bounds, Bounds, Bounds, Bounds) -> Unit): ConstraintLayout

Remove all constraints for the given Views that were created by constraints.

Return

Layout with constraints removed

Parameters

first

View being unconstrained

second

View being unconstrained

third

View being unconstrained

fourth

View being unconstrained

constraints

being removed


abstract fun unconstrain(first: View, second: View, third: View, fourth: View, fifth: View, constraints: ConstraintDslContext.(Bounds, Bounds, Bounds, Bounds, Bounds) -> Unit): ConstraintLayout

Remove all constraints for the given Views that were created by constraints.

Return

Layout with constraints removed

Parameters

first

View being unconstrained

second

View being unconstrained

third

View being unconstrained

fourth

View being unconstrained

fifth

View being unconstrained

constraints

being removed


abstract fun unconstrain(first: View, second: View, vararg others: View, constraints: ConstraintDslContext.(List<Bounds>) -> Unit): ConstraintLayout

Remove all constraints for the given Views that were created by constraints.

Return

Layout with constraints removed

Parameters

first

View being unconstrained

second

View being unconstrained

others

being unconstrained

constraints

being removed