'How to remove floating code section from Android Studio?

For some reason a weird floating code section started to appear sometimes inside the Android Studio code window (selected in red):

enter image description here

Has anyone encountered this thing? Knows what it is? And how do I get rid of it?



Solution 1:[1]

This happens when you hover over a collapsed code lines, it shows what's inside. I think it disappears once you move the mouse pointer away from that area.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Senith Umesha