Android 3.0的状态栏和放大器; targetSdkVersion清单中,菜单键 [英] Android 3.0 statusbar & targetSdkVersion in manifest, menu button
问题描述
我需要变暗蜂窝的状态栏上我的应用程序的某些屏幕,所以我用了View.setSystemUiVisibility(int)方法。但是,为了它的工作我在我的表现改变了targetSdkVersion属性为11。现在一切都完美的作品,但在状态栏中的菜单按钮已经消失了,所以我不能访问某些选项。我怎么表现出来,同时保持targetSdkVersion = 11?
我如何表现出来,同时保持targetSdkVersion = 11?
块引用>您没有。你的菜单将出现在你的动作条。如果删除操作栏,把它放回去,或者不使用的选项菜单。
I needed to dim Honeycomb's status bar on some screens of my app, so I used the View.setSystemUiVisibility(int) method. But in order for it to work I've changed the targetSdkVersion attribute to 11 in my manifest. Now everything works perfectly, but the "menu" button in the status bar has disappeared so I can't access some options. How do I show it while keeping targetSdkVersion=11?
解决方案How do I show it while keeping targetSdkVersion=11?
You don't. Your menu will appear in your action bar. If you removed the action bar, put it back, or do not use an options menu.
这篇关于Android 3.0的状态栏和放大器; targetSdkVersion清单中,菜单键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!