Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HOW to change preview?

I have been editing the stupid android studio layout for the last 3 hours, and I cant change the preview!

Preview selection menu

For some reason, android studio layout is stuck on wear square! I just want my layout to be a Nexus 6p, but when I click on that, instead of changing the layout editor phone, it just jumps to my layout-normal xml!

How can I change the phone shown on the layout editor? It is causing me way too much trouble

like image 639
Ruchir Baronia Avatar asked Apr 07 '16 22:04

Ruchir Baronia


People also ask

How do I turn off Preview mode on my Mac?

Open your hard drive on the Mac's desktop and choose View -> Show View Options. Uncheck the Show Icon Preview option and click Use as Defaults at the bottom of the window.

How do I change Preview settings?

Do one of the following: In Manage mode, click Tools | Options | Preview. In Manage mode, right-click in the Preview pane and select Preview Options.


2 Answers

You can change the devices by pressing D from the keyboard into the Preview pane. Previous settings will be set to default when you will restart the studio.

like image 118
Faizan Haidar Khan Avatar answered Oct 21 '22 06:10

Faizan Haidar Khan


Resize your layout by dragging the bottom-right corner of your layout to the far bottom right of your screen. The "Device in Editor" drop-down will change to "Custom". You should now be able to select any listed device.

like image 38
BobS Avatar answered Oct 21 '22 08:10

BobS