可能重複:
What do I have to add to a layout to hide the titlebar?Android的標題欄去除
如何卸下電池下方的標題,時間條從顯示出來?
不知道的術語該酒吧,但這張照片是在 「嵌套XML佈局」 欄:
可能重複:
What do I have to add to a layout to hide the titlebar?Android的標題欄去除
如何卸下電池下方的標題,時間條從顯示出來?
不知道的術語該酒吧,但這張照片是在 「嵌套XML佈局」 欄:
的android:theme
屬性添加到您的AndroidManifest.xml:
<application android:theme="@android:style/Theme.NoTitleBar">
請參閱此以獲取更多信息http://stackoverflow.com/q/2591036/346309 – JPM 2011-12-16 16:37:42
我使用了這個,但是後面的應用程序內容消失了,甚至認爲GUI在那裏。請注意,我正在使用DB-manager java類填充我的GUI,即從數據庫讀取內容。我該怎麼辦 ? – 2014-05-15 21:30:26
HI其移除圖標只...它不會刪除標題欄...我的應用程序的最小SDK版本是7. – 2015-09-23 17:43:14
之前的Java文件上使用該功能setContentView()
requestWindowFeature(Window.FEATURE_NO_TITLE);
使用這個AndroidManifest文件
android:theme="@android:style/Theme.NoTitleBar"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
使用此AndroidManifest文件的意思是什麼?是否添加此代碼爲fullscrean? – 2013-01-05 20:20:38
謝謝Janusz,之前沒有看到。 – teepusink 2010-03-15 18:33:55