Constraint.isRequired

Checks whether the constraint is a required relation for solving the constraint layout.

class Constraint
bool
isRequired
()

Return Value

Type: bool

true if the constraint is required