際際滷

際際滷Share a Scribd company logo
Constraint layout in one go.
By Aastha Gupta
Contents
 Preface
 What is constraint layout?
 Why we need Constraint layout?
 How to use it?
 Whats' more?
Preface
 Android studio 2.2 .
 All new Layout editor.
 The blueprint mode.
 Constraint reference engine.
What is constraint?
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.
Constraint layout
Why Constraint Layout?
 The new ViewGroup.
 No to editing XML by hand.
 Reduces nesting hence performance.
 Relationship with the other views.
 Unbundled library.
How to use it?
 Converting existing layouts in ConstraintLayout.
 Creating new layouts.
Whats' more?
 Inspector
 Auto Connect
 Inference
Questions?
Thank You.

More Related Content

Constraint layout