Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Android Studio Tip: Multiple Screen Sizes in Layout Editor

DZone's Guide to

Android Studio Tip: Multiple Screen Sizes in Layout Editor

· Mobile Zone ·
Free Resource

Some people are pretty excited about Android Studio, and while it may present a few hurdles for developers coming to it from more familiar IDEs like Eclipse, features like the following present solid arguments in its favor:

This is a screenshot of Android Studio's layout editor (taken from an Android dev pro tip from Jamal Eason and Katherine Kuan) in which simultaneous previews of a responsive app appear on differently-sized screens. It's pretty simple to set up:

Click on the overflow menu button > Preview All Screen Sizes. You can switch between landscape/portrait orientations too. If you want to look at a single device, you can make a selection for that as well.

Unfortunately, now you can't just pretend everybody has the same size screen as you.

Topics:
java ,mobile ,android ,tips and tricks ,tools & methods ,ides ,android studio

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}