本文介绍了隐藏Android Emulator菜单栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以隐藏/自动隐藏Android Emulator的菜单栏?如下所示:

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

  • 右键单击Android模拟器;
  • 右键单击菜单栏;
  • 检查底部的三个点;
  • AVD管理器(设备框架"似乎无济于事);
  • 顶部的控件( X --关闭并最小化模拟器);
  • 向好的老Google求助.
  • 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:最佳行为imo类似于从Windows任务栏自动隐藏(或某种使其重新出现的键盘快捷键).

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).

修改
如答案中所述,如果使用Ubuntu,则可以通过按住Alt +拖动来拖动它.尽管有用,但这仍然不是理想的行为-而且对我来说,它对我不起作用,就像我在Windows 10上一样.

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.

推荐答案

您可以使用 xdotool :

首先,您应该找到该窗口的ID

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可以作为软件包在Debian,Ubuntu和Fedora中租借.

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

积分: https://stackoverflow.com/a/26704369/3139930

这篇关于隐藏Android Emulator菜单栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 15:29