5. Constraint Layout
● ViewGroup in Constraint Layout Library.
● It is based on constraints i.e the views will be
set in relationship with each other.
● Backward compatible to API level 9.
6.
7. Why Constraint Layout?
● The new ViewGroup.
● No to editing XML by hand.
● Reduces nesting hence performance.
● Relationship with the other views.
● Unbundled library.
8. How to use it?
● Converting existing layouts in ConstraintLayout.
● Creating new layouts.