AMAN77
AMAN77

Reputation: 6302

Multiple device view on Android Studio?

Is there any way that I can quickly see how my view is going to look in different scales? On Xcode there is a preview feature in storyboard mode, just checking if there is anything like that but in Android Studio or even third party...

multiple screen sizes on xcode

Thanks in advance, any help/suggestion/pro-tip ;) is appreciated

Upvotes: 10

Views: 4133

Answers (4)

Giovanni Contreras
Giovanni Contreras

Reputation: 2579

"Layout validation" tool window rely on context to be visible

Android Studio Chipmunk | 2021.2.1

in text editor mode layout validation is not visible at the very right of the ide

editor mode

But if you are in design mode and working on a layout (not a path nor icon ) . Layout validation will appear in between gradle and device manager tools

editor mode

Now you can work with layout validation tool window .

layout validation

Upvotes: 3

Ganesh kumar Raja
Ganesh kumar Raja

Reputation: 221

There is menu called "Layout validation" where you can preview all the screen on Android studio 4.0.

Upvotes: 22

multidynamic
multidynamic

Reputation: 814

Multi Preview, which is like this, is a feature of Android Studio 3.6+

Upvotes: 2

Sagar Nayak
Sagar Nayak

Reputation: 2216

I assume you know to go to the xml file and open the design tab of the layout . and now you can see only single preview of the layout in device.

  • Then look to your top bar on the design window which contains app theme , the android version and device name. (below is a screen shot).

Look at the Nexus 4

  • Now all you have to do is open the drop down which contains device names (in my screen shot Nexus 4) and go to bottom . you will see preview all screens . this will show all the screen preview.

Preview all screens

Hope this solves your problem.

Upvotes: 4

Related Questions