Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Google I/O 2017 - Constraint Layout by Laurence de Villers
GDG Montreal
June 01, 2017
Technology
0
27
Google I/O 2017 - Constraint Layout by Laurence de Villers
What is new in the Constraint Layout
GDG Montreal
June 01, 2017
Tweet
Share
More Decks by GDG Montreal
See All by GDG Montreal
gdgmontreal
0
7
gdgmontreal
0
40
gdgmontreal
0
43
gdgmontreal
0
35
gdgmontreal
0
2
gdgmontreal
0
40
gdgmontreal
0
65
gdgmontreal
0
130
gdgmontreal
0
110
Other Decks in Technology
See All in Technology
ocise
1
970
clustervr
0
200
yosshi_
3
350
i35_267
0
140
satoryu
0
2.4k
redhatopenshift
0
380
clustervr
0
210
toshinoritakai
1
210
hamadakoji
1
1.1k
torisoup
0
300
ocise
0
170
muras
0
110
Featured
See All Featured
jcasabona
7
520
cassininazir
347
20k
jonyablonski
14
1.1k
jonrohan
1021
380k
keathley
18
650
skipperchong
7
670
robhawkes
52
2.8k
jnunemaker
PRO
40
4.6k
brettharned
93
3k
chrislema
173
14k
rocio
155
11k
tammielis
237
23k
Transcript
Laurence de Villers +LaurencedeVillers Constraintlayout is now the default layout!
GDG Montreal Android
None
None
Advantage Expressive way to create Layouts Flat Layouts ( more
efficient ) Easy for animations. Text Alignment Compatible with 99% of Android Devices ( API level 9 )
Recap
ConstraintLayout 1.0 Relative positioning Center positioning and bias Guidelines Ratio
Chains Provide group-like behaviour in a single direction . The
other axis is not constrained by it.
ConstraintSet
GOOGLE I/O → 1.1.0 beta 1
Barriers Set a maximum or a minimum to the edge.
Group Regroupment of view/widget to be able to set and
modify all the group.
Placeholder Virtual place view that set it content to an
other view.
Tools → Full inspector → Slice of Data
Where to start Code lab : https://goo.gl/zDSQ6g https://developer.android.com/training/constraint-layout/index.html
Thanks