No “Docked Mode” option in “Preview” settings in Android Studio once undocked

别说谁变了你拦得住时间么 提交于 2019-11-27 17:04:11

问题


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.


回答1:


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

  1. Select the Preview Window
  2. 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.




回答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.




回答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.




回答4:


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

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




回答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




回答6:


If pin mode and docked mode options in window are in a gray color, then First, go to window-> restore default layout-> again go to window->active tool window, pin mode and docked mode options will automatically made visible, so that we can select(or tick) them.



来源:https://stackoverflow.com/questions/30160081/no-docked-mode-option-in-preview-settings-in-android-studio-once-undocked

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!