问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/8646980/android-3-0-statusbar-targetsdkversion-in-manifest-menu-button