开发者

Make an app occupy all of the screen on a tablet in android 3.0 honeycomb? (on title bar and status bar)

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)?.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜