Published on December 14, 2016 by Android Developers

The new Layout Editor in Android Studio 2.2 has some surprises, including a new blueprint mode, revamped properties inspector and support for ConstraintLayout, a new way to define layouts for your apps.

In this Android Tool Time episode Wojtek Kaliciński shows you the basics of working with ConstraintLayouts in the visual editor. If you want to try it out yourself, you can find our codelab here: codelabs.developers.google.com/codelabs/constraint-layout

When you’re familiar with the layout editor interface, read the rest of our Medium article where you’ll find some more advanced tips and tricks for ConstraintLayout: medium.com/google-developers

Leave a Reply

39 Comments on "Building interfaces with ConstraintLayout in Android Studio"

Notify of
avatar

Rajat Ranjan
Guest
Rajat Ranjan
27 days 19 hours ago

how to remove ConstraintLayout from android studio's default layout?

alb12345672
Guest
alb12345672
2 months 4 days ago
Ok, I tried it again on a non-trivial layout. even wasted time and watched a few hours of tutorials. This product has very serious bugs. For starters, I have a bunch of buttons, with a ripple background(round) and the adorners around them move and the button stays put. I wasn't paid much on my last job but if I ever released something like that to customers in production I would have been fired. i designed a canvas type modeling app on another platform that was similar. There are also many other quirks. This isn't rocket science, and canvas design apps… Read more »
Damien Smith
Guest
Damien Smith
2 months 6 days ago

"improved"

alb12345672
Guest
alb12345672
2 months 8 days ago
I think you should rename it ClusterF*kLayout. I"ve worked with GUI tools since the early 90s and I'm either missing something or there is something majorly messed up. I tried to convert a complex RelativeLayout and after pulling strings for an hour ended up with a monster that looked different on every device. Lucky for source control. I even tried chaining things together and something like making the dollar portion next to a smaller cents portion became almost impossible.Small tweaks were blowing the whole layout apart. This is on the latest updated version too (as of today). Maybe I'll give… Read more »
Rei Wynne
Guest
Rei Wynne
2 months 13 days ago

Seriously helpful video for a newbie. Thank you!

Baciu JR
Guest
Baciu JR
2 months 21 days ago
whyread
Guest
whyread
3 months 5 hours ago

Thank you. Great job on the video and ContrainedLayout!

srujan barai
Guest
srujan barai
3 months 18 days ago

This sounds promising! Gotta use!

mas bro
Guest
mas bro
3 months 20 days ago

so match constraint is the number. i'm confused for while.

The Engineer's Cafe
Guest
The Engineer's Cafe
3 months 22 days ago

How do we center two views that are placed vertically one after another in Constraint Layout?

1 2 3
wpDiscuz