1

Hy,

I know I can launch my app on multiple devices at the same time but is there a way to view two previews of the layout for different devices at the same time without having to launch the avds?

Thanks

fernando1979
  • 1,727
  • 2
  • 20
  • 26
  • Hi, check this : http://stackoverflow.com/questions/39165166/android-studio-2-2-preview-all-screen-sizes-missing – Khaled Oct 23 '16 at 16:06
  • Layout Previews had been removed from Android Studio, but are now back under a different tab https://stackoverflow.com/a/73333246/1208581 – sulai Aug 12 '22 at 11:13

2 Answers2

0

In Android studio 2.2 once you have opened your layout file, you can preview the layout for different devices like that :

enter image description here

Khaled
  • 411
  • 3
  • 10
0

Yes, there is a way.

Right-click on the activity_main.xml tab, and from the pop-up menu select split-vertically or split-horizontally.

This will create a second xml tab that can use a different screen for design/text. This can be repeated for more tabs, and the tabs can be "torn off" to float separately.