Over a million developers have joined DZone.

Android Studio Tip: Multiple Screen Sizes in Layout Editor

· Mobile Zone

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.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}