No software buttons for the ICS emulator?

谁说胖子不能爱 提交于 2019-12-03 01:20:36

Here's a workaround that works for me: create your AVD by selecting the WXGA720 preset for the Skin, but before you click the "Create AVD" button, click on the "Resolution" radio button for the Skin and enter 720 x 1280 manually on the provided inputs.

You might also want to make sure that you add "Keyboard support: no" and "DPad support: no" in the Hardware section.

Use your Keyboard's "Home" for Home, "Esc" for back and "Page Up" for Menu.

You can get the software keys up if you edit the AVD's "config.ini" file. I don't know where this is in windows, but in linux it's ~/.android/avd/.avd/config.ini

You need to put in these lines (not sure if you need to put in all 3):

hw.mainKeys=no
hw.keyboard=no
hw.dPad=no
Tim T

On a MacBook air (which has no Home or Page Up keys) use the fn key + arrows:

  • fn + Left Arrow = "Home Button"
  • fn + Up Arrow = "Menu Button"
  • esc = "Back Button"

I needed to add the following to my AVD's config.ini file:

skin.dynamic=yes

This can also be set via the AVD Manager GUI by checking Skin: Display a skin with hardware controls, see screenshot below:

This is for ADT Build: v21.0.1-543035

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!