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

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

Notify of
avatar

srujan barai
Guest
srujan barai
17 days 12 hours ago

This sounds promising! Gotta use!

mas bro
Guest
mas bro
19 days 16 hours ago

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

The Engineer's Cafe
Guest
The Engineer's Cafe
21 days 16 hours ago

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

Hamed Heidari
Guest
Hamed Heidari
25 days 55 minutes ago

DON'T TRY THIS AT HOME.

hasan subzwari
Guest
hasan subzwari
27 days 1 hour ago

When i open the Tools>SDK Manager> Default setting window appears. Studio doeslow me to click on "SDK Tools" to install features.Plz help me how can i fix this problem.

Miroslav Svítok
Guest
Miroslav Svítok
1 month 3 days ago

this is great

Srinidhi Kowshik
Guest
Srinidhi Kowshik
1 month 14 days ago

can anyone tell me how to revert to default relative layout from constraint layout in android studio 2.3, constraint layout is full of bugs,

Fahad Ayaz
Guest
Fahad Ayaz
1 month 13 days ago

You should really be using a VCS, such as Git. It would be pretty trivial to rollback any changes. You could probably also use Android Studio's local history.

Srinidhi Kowshik
Guest
Srinidhi Kowshik
1 month 14 days ago

full of bugs , google u suck at new things, make it stable before u automatically update, i hate u

Hamed Heidari
Guest
Hamed Heidari
25 days 57 minutes ago

Couldn't agree more

Steven Akinyemi
Guest
Steven Akinyemi
28 days 1 hour ago

Hahaha

Dyldo
Guest
Dyldo
1 month 22 days ago

do i need to add that code in build gradle in the final constraint layout version. i have it downloaded but i dont see that code in there. also does constraint layout or appcompat make my apps backwards compability go away. i need a min sdk of 17 target 25 at the moment.

bbnl vijayawad
Guest
bbnl vijayawad
2 months 7 days ago

We tried in many combinations with respect to hdpi with sizes.The output of the installed apk showing different for different screens you are request to suggest us which sie is suitable for(phone/tablet)respect to hdpi,xhdpi,xxhdpi,xxxhdpi.

wpDiscuz