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

14,377

Solution 1

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

Solution 2

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.

Solution 3

The first answer is right, but you must first click Preview Window. Then you go to Window menu > Active Tool Window, choose Docked Window and Pinned Mode.

Solution 4

Here is the simple solution for reverting to "Docked Mode" preview:

Go to Window menu > Active Tool Window>Docked Mode(true).

Solution 5

It didn't worked for me , But helped me ,Thank you.

Another Solution is 1.Select Preview window(Focus on it) 2.Unselect Floating mode and Pinned mode 3.goto Window -> Active Tool Window -> 4.Unselect Floating mode and Pinned mode 5.Now you can see Docked window option here(Window -> Active Tool Window ->) 6.Select Docked Window

Share:
14,377
Samir
Author by

Samir

Software engineer currently working in the field of software development for android platform.

Updated on June 14, 2022

Comments

  • Samir
    Samir about 2 years

    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.

  • qwlice
    qwlice almost 8 years
    My situation is worse: in "Active Tool Window" menu, the entry "Docked mode" is grayed out!
  • qwlice
    qwlice almost 8 years
    I unchecked "Floating mode" and "Docked mode" turned enabled. For future reference.
  • X09
    X09 over 7 years
    Time. Saved my time
  • Jraco11
    Jraco11 about 7 years
    Literally can't work without this being docked, thanks!
  • Mike Hanafey
    Mike Hanafey over 6 years
    In Intellij you can dock and undock from the same place, which is obviously the correct design. The odd behavior remains in Studio 3.0.1 -- why is it not fixed?