开发者

Android title bar removal [duplicate]

This question alrea开发者_运维技巧dy has answers here: Closed 10 years ago.

Possible Duplicate:

What do I have to add to a layout to hide the titlebar?

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

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

Android title bar removal [duplicate]


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

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


Use this on in Java file before setContentView()

requestWindowFeature(Window.FEATURE_NO_TITLE);

Use this AndroidManifest file

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜