ConstraintLayout
Properties
Notified whenever an unhandled ConstraintException is thrown during layout.
Indicates how much the parent should preserve its height when calculating preferredSize. Use this to reduce the strength of rigidity in cases where you want the constraints to have more effect on the parent. For example:
Indicates how much the parent should preserve its width when calculating preferredSize. Use this to reduce the strength of rigidity in cases where you want the constraints to have more effect on the parent. For example:
Functions
Add constraints for view.
Add constraints for 2 Views.
Add constraints for several Views.
Add constraints for 3 Views.
Add constraints for 4 Views.
Add constraints for 5 Views.
Gets the child within the Positionable at the given point. The default is to ignore these calls and let the caller perform their own search for the right child. But Layouts are free to return a value here if it can be done more efficiently.
Indicates whether a layout is needed because of the given size change to a container. This is called whenever the container's size changes.
Indicates whether a layout is needed because of the given bounds change to a child within a container. This is called whenever the child's size changes.
Remove all constraints for view that were created by constraints.
Remove all constraints for the given Views that were created by constraints.