Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide Android Emulator menu bar

Is it possible to hide / auto-hide the Android Emulator's menu bar? The one shown below:

Android Emulator Menu


I've tried:

  • Right click Android Emulator;
  • Right click Menu Bar;
  • Checking the three dots at the bottom;
  • AVD Manager ("Device Frame" doesn't seem to help);
  • Controls on top (X and - - closes and minimizes the emulator);
  • Asking good old Google.

All without any success. Is it even possible to hide it?

PS: The optimal behavior, imo, would be similar to the auto hide from Windows taskbar (or some sort of keyboard shortcut to make it reappear).


Edit
As mentioned in an answer, it might be possible to drag it if your using Ubuntu by holding Alt + dragging it. Although useful, that's still not the desired behavior - and it doesn't work for me as I'm on Windows 10.

like image 407
FirstOne Avatar asked Feb 06 '18 13:02

FirstOne


People also ask

How to hide Android emulator Menu bar?

I've found an alternative solution, you can move this sidebar by holding Alt key + click on the box. If you move the emulator, the sidebar will be placed on the default position. I'm using Ubuntu (didn't test it on Windows or Mac). You just have to hold Alt key and drag the sidebar with left mouse click.

How to remove emulator from sidebar Android studio?

As @Nisu suggested, go to File>Settings>Tools>Emulator and uncheck the "Launch in a tool window".

How do I turn off Android emulator?

Run and stop an emulator, and clear data To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data. Or click Menu and select Wipe Data.

How do I pin Android emulator screen?

Just press the 'window' button and the left arrow and the highlighted window will stack to the left. Press the 'window' button and the right arrow and the highlighted window will stack to the right.


2 Answers

You can use xdotool:

First you should find the id of that window

$ xdotool selectwindow  //After you use this line you should select the window 12345678 

And you just minimize it.

$ xdotool windowminimize 12345678 

xdotool is available as a package in at lease Debian, Ubuntu and Fedora.

And you can install this tool with this line.

$ sudo apt-get install xdotool 

Credits: https://stackoverflow.com/a/26704369/3139930

like image 132
veysel Avatar answered Sep 16 '22 22:09

veysel


On Windows you may try windows-specific hack via 3rd party tool.

  • Take WinSpy (https://sourceforge.net/projects/winspyex/)
  • Follow instructions on screenshot

enter image description here

like image 40
Xtra Coder Avatar answered Sep 20 '22 22:09

Xtra Coder