我如何控制蜂窝的软菜单按钮? [英] How do I control the soft menu button in Honeycomb?
问题描述
我有,我想打开的菜单按钮关闭(我捡别人的项目,我不知道是什么原因挑起菜单按钮出现)的应用程序...它没有*做任何事情。有没有办法手动关闭该图标?还是我追捕首先显示其存在的原因是什么? (请没有高射炮寻找一个解决办法,显然在一个理想的世界,我会用code非常熟悉,知道为什么正在生成菜单按钮,但时间的本质,因为它是一个非功能性按钮,我看到只是迫使它走也无妨)。
I have an app in which I want to turn the menu button off (I'm picking up someone else's project and am not sure what is provoking the menu button to appear)... it doesn't *do anything. Is there a way to turn off that icon manually? Or do I have to hunt down the reason for its being displayed in the first place? (please no flak for looking for a workaround, obviously in an ideal world I'd be familiar enough with the code to know why the menu button is being generated, but time is of the essence and since it's a non functional button, I see no harm in just forcing it to go away).
TIA
推荐答案
根据建议位置:
<一个href=\"http://groups.google.com/group/android-developers/browse_thread/thread/c4b1b835060bd93f/4ed12919b4147008\" rel=\"nofollow\">http://groups.google.com/group/android-developers/browse_thread/thread/c4b1b835060bd93f/4ed12919b4147008
我设法通过我的表现我targetSdkVersion设置为11,摆脱对蜂窝菜单按钮:
I managed to get rid of the menu button on Honeycomb by setting my targetSdkVersion to 11 in my manifest:
android:targetSdkVersion="11"
如果你最终实施一些菜单选项,我相信他们最终会被放入在右上角的小部件(不知道它叫什么)。
If you do end up implementing some menu options, I believe they will end up being put into the little widget at the top right (don't know what it's called).
这篇关于我如何控制蜂窝的软菜单按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!