Android的标题栏拆除标题栏、Android

2023-09-04 10:53:30 作者:年少德、无知

可能重复:   What我必须添加到布局隐藏标题栏?

如何从显示出来取下电池下方的标题,时间吧?

How do I remove the title below the battery, time bar from showing up?

不知道的术语是吧,但这张照片是在嵌套XML布局吧:

Not sure the terminology for that bar, but on this picture it is the "Nested XML Layout" bar:

推荐答案

Android的加入:主题属性设置为您的Andr​​oidManifest.xml:

Add the android:theme property to your AndroidManifest.xml:

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