No "Docked Mode" option in "Preview" settings in Android Studio once undocked
Solution 1
Here is the simple solution for reverting to "Docked Mode".
- Select the Preview Window
- Go to Window menu > Active Tool Window
There you go. The Preview window is in Docked Mode. And there is the option for Docked Mode again.
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) 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
![Samir](https://i.stack.imgur.com/JZlHy.jpg?s=256&g=1)
Samir
Software engineer currently working in the field of software development for android platform.
Updated on June 14, 2022Comments
-
Samir about 2 years
Here is the Docked mode option for "Preview" window.
I removed the docked mode i.e. undocked it. And here is what I got.
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 almost 8 yearsMy situation is worse: in "Active Tool Window" menu, the entry "Docked mode" is grayed out!
-
qwlice almost 8 yearsI unchecked "Floating mode" and "Docked mode" turned enabled. For future reference.
-
X09 over 7 yearsTime. Saved my time
-
Jraco11 about 7 yearsLiterally can't work without this being docked, thanks!
-
Mike Hanafey over 6 yearsIn 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?