问题描述
在 Android Studio 中摆弄布局时,我不知何故将我的 logcat 窗口变成了一个浮动窗口.我终生无法将其恢复到停靠模式.
While fiddling with the layout in Android Studio I somehow turned my logcat window into a floating window. I cannot for the life of me restore it to docked mode.
我不想从头开始重建项目,但在 .idea/workspace.xml
中找不到任何明显的东西.
I would prefer to not have to rebuild the project from scratch, but cannot find anything obvious in .idea/workspace.xml
.
推荐答案
Mac OS X 答案
似乎 OP 在 Linux 上的某些方面遇到了这个问题.对于 OS X 用户,请参阅此答案.
Mac OS X answer
Seems the OP is running into this issue on some flavor on Linux. For people with OS X, see this answer.
如果您选择浮动窗口右上角的小齿轮图标,并取消选择浮动模式,它应该会弹回固定模式:
If you select the little cog icon at the top right of the floating window, and deselect floating mode, it should pop back to pinned mode:
如果没有看到小齿轮,也可以先确定浮动logcat窗口被选中,然后进入Window-> Active Tool Window-> Floating Mode
If you don't see the little cog, you can also make sure that the floating logcat window is selected, and then go to Window-> Active Tool Window-> Floating Mode
这篇关于你如何在 Android Studio 中撤销 logcat 窗口的浮动模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!