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

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

Notify of
avatar

Jonas Kromwell
Guest
Jonas Kromwell
1 month 3 days ago

My blueprint view shows up with a tiny box. Unlike anything shown here. No ability to resize. What's the problem?

Ray ,
Guest
Ray ,
1 month 24 days ago

Hello, makes a video teaching to make the Login page: User, email, password and enter button.That's all we want. Result later: 700.000 views.

Kane
Guest
Kane
2 months 30 days 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
3 months 10 days 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
3 months 11 days 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
3 months 24 days ago

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

Mr. Business
Guest
Mr. Business
4 months 16 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
6 months 4 days ago

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

Seni Joshua
Guest
Seni Joshua
6 months 6 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
6 months 6 days ago

Very simple and to the point – thank you

1 2 3 9
wpDiscuz