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.