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

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

Notify of
avatar

Kane
Guest
Kane
8 days 18 hours ago

The layout editor sucks. Spend so many time clicking and dragging and still cannot get what I want. Then I give up, use RelativeLayout and get the job done in less than 10 minutes.

Xiaoqi Zhang
Guest
Xiaoqi Zhang
20 days 2 hours ago

Guys! Please have a look at how iOS does the layout. really hope google android can provide such intuitive and easy to understand tools.

Xiaoqi Zhang
Guest
Xiaoqi Zhang
20 days 2 hours ago

layout should never be treated as the 'SAME' as view (stuff you can see) ,please see that class hierarchy, view is the layout root class?????? really ?????? as native android developer and iOS developer, do please experience how iOS architects the layout system. soooo much easier to understand and so much easier to user. On android studio, there are millions of attributes of a view……

Coding in Flow
Guest
Coding in Flow
1 month 2 days ago

Once you get the hang of it, it's actually fun to use..

Mr. Business
Guest
Mr. Business
1 month 24 days ago

Worst decision ever.. You even make it a pain in the ass to get rid of it..Why?

Coding in Flow
Guest
Coding in Flow
3 months 13 days ago

Awesome! I've made a detailed tutorial on my channel

Seni Joshua
Guest
Seni Joshua
3 months 15 days ago

Honestly. ConstraintLayout for simple layouts…definitely worth the performance increase. However, for complex layouts and even using it with a RecyclerView is clunky. Try positioning a recycler view beneath a toolbar in a constraintLayout. I thought they'd have ironed out the kinks at Google by now but alas, they still have to go back to the drawing board.

DesireFanatics
Guest
DesireFanatics
3 months 15 days ago

Very simple and to the point – thank you

Alejandro Martínez
Guest
Alejandro Martínez
4 months 3 days ago

Thanks.

Mac Taylor
Guest
Mac Taylor
4 months 9 days ago

Is constraint layouts better for if you are developing for multiple screen sizes? If not what is the best way to do it?

1 2 3 8
wpDiscuz