I am making an app for android 3.0 and i need it to be fullscreen. currently the manifest file contains these two lines in activity tag:
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:screenOrientation="portrait"
开发者_运维技巧
(for some reason i need to fix the orientation to portrait)
but the emulator shows a status bar at the bottom (or in this case right).
not allowed to post images but here is a link to the screenshot http://i.stack.imgur.com/HAUCj.jpg
Is there any method to remove the status bar too....
Thanks
Shobhit
You cannot remove the system bar entirely because it is an essential part of the UI, and contains the back and home buttons. However, you can hide or "dim" it as explained in How do I dim the system bar in Android 3.0 (Honeycomb)?.
精彩评论