Constraint layout allows developers to create layouts using constraints rather than nested view groups. It establishes relationships between views to position and size them, improving performance over deeply nested layouts. Constraint layout is a new view group that reduces the need to manually edit XML and allows visual editing of constraints in Android Studio's blueprint mode. It is backward compatible to API level 9 and provides tools like inspector, auto-connect, and inference to help developers build constraint-based layouts.
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.
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.