Jak*_*son 8 android android-optionsmenu android-actionbar
在为ICS开发应用程序时 - 操作栏看起来会有所不同,具体取决于设备上是否存在物理menubutton.
例如,如果没有,则在操作栏中显示虚拟按钮.
是否可以通过在模拟器中以某种方式禁用它来模拟没有menubutton的设备?
Viv*_*vek 11
打开AVD Manager, Click在磁盘上显示option, Edit theconfig.ini file from the opened directory, findhw.mainKeys config and set it toyes`
hw.mainKeys = yes
Run Code Online (Sandbox Code Playgroud)
保存文件并重新启动 AVD。
使用更新的SDK工具(本答案中的R22),AVD管理器编辑器不再在UI上公开这些选项.您必须手动编辑AVD 的config.ini并更改以下密钥
hw.mainKeys=yes
至
hw.mainKeys=no
| 归档时间: |
|
| 查看次数: |
4209 次 |
| 最近记录: |