Android 工作室自动打开文档视图

我不知道这是 bug 还是某种设置,但是在输入值(比如 android:layout_gravity="")时非常烦人,它会用下拉框打开提示,过一会儿文档视图会打开并用提示隐藏下拉框。

enter image description here

我检查了没有按钮被挂起或者类似的东西,我使用的是 Ubuntu 14.04。

22290 次浏览

Strange, because I've not changed anything with AS from months and there was no such behavior before. There's solution:

enter image description here

Preferences > Editor > General > CodeCompletion > uncheck Auto popup feature

Note that this functionality has been moved recently. It's now in:

Android Studio -> Preferences -> Editor -> General -> Other.

Uncheck "quick documentation on mouse move".

Follow the simple steps to remove open Documentation by cursor move :

Android Studio -> File -> Setting -> Editor -> General

Right side of the screen go to Others :

  • Uncheck checkBox show quick documentation of mouse move & Apply.

enter image description here

Please check image. This the only correct answer as far i know because i sorted out this way only. Just click on Help>find Action>auto(in the search box)> and uncheck the checkbox in the image shown

I found out that I don't want to disable the documentation. Instead, I set the window to be 'Opened as Popup',

enter image description here

This displays the documentation aside to the cursor and autocloses it automatically.

enter image description here

Surely I've set it before as a 'Tool Window' to see the full content and then I forgot to set it back.

Studio 3.4.2, somehow had setting checked, uncheck it.

File -> Settings -> Editor -> General -> Code Completion. studio-doc-autopopup Cheers

For Android Studio 4.x ~ Arctic Fox | 2020.3.1

Preferences > Editor > Code Editing > Quick Documentation > Show quick documentation on mouse move: unchecked

screenshot