Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No "Docked Mode" option in "Preview" settings in Android Studio once undocked

Here is the Docked mode option for "Preview" window.

Preview Setting with Docked mode option

I removed the docked mode i.e. undocked it. And here is what I got.

Preview Setting without Docked mode option

There is no more "Docked Mode" option. Now I cannot properly work with designing layouts. Preview automatically hides when I change anything in the layout.

like image 592
Samir Avatar asked May 11 '15 05:05

Samir


2 Answers

Here is the simple solution for reverting to "Docked Mode".

  1. Select the Preview Window
  2. Go to Window menu > Active Tool Window

Docked Mode in Window menu

There you go. The Preview window is in Docked Mode. And there is the option for Docked Mode again.

Preview Setting with Docked mode option

like image 72
Samir Avatar answered Oct 21 '22 22:10

Samir


Option 1

First open any layout file to set the preview as active window. Then as the first answer says, goto Window in menu > Active Tool Window > Select Pinned Mode, Docked Mode and Split Mode

Option 2

Open a layout file. If the preview window doesn't appear, first make it visible by clicking View in menu > Tool Windows > Preview. Now preview window will appear. Then right click on the Toolbar in the preview window itself (the one with blue color)image here to show a list of options. Then there, select Pinned Mode, Docked Mode and Split Mode

Regards.

like image 41
viper Avatar answered Oct 21 '22 21:10

viper