Android - Make app fullscreen without title & icon? [duplicate]

懵懂的女人 提交于 2019-12-11 11:27:29

问题


Possible Duplicate:
Hiding Title in a Fullscreen mode?

I am making a app that need to be in full screen. i want the notification bar to show, but not a titlebar or icon (my build target is 4.0.3). I have tried to put it in full screen but it stays the same.

Is there any alternative to get full screen app layout / view?

Any help would be greatly appreciated!

i want to hide the hello android text and icon

here is a example:


回答1:


In the Manifest file, under each activity tab you want to be without a title bar, place:

            android:theme="@android:style/Theme.NoTitleBar"

If you wanted no notification bar as well, then use:

            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >


来源:https://stackoverflow.com/questions/13243134/android-make-app-fullscreen-without-title-icon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!