删除应用程序标题栏的android应用程序、标题栏、android

由网友(半生酒醒)分享简介:我知道这个问题已经被问的Millio次,但它永远的方法我用它不适合我。如果我使用I know this question has been asked millio times but which ever method i use it is not good for me.if i use android:...

我知道这个问题已经被问的Millio次,但它永远的方法我用它不适合我。 如果我使用

I know this question has been asked millio times but which ever method i use it is not good for me. if i use

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

在清单文件的应用程序改变整个主题,而如果我把

in manifest file, whole theme of the app changes, and if i put

requestWindowFeature(Window.FEATURE_NO_TITLE); 

在OnCreate活动,它显示了短期内启动一个应用程序时。

in the onCreate activities, it shows up shortly when starting an app.

顺便说一句我没有任何主题精选,只使用标准的Andr​​oid。 感谢您andvance!

Btw i don't have any theme selected, just using standard android. Thank you in andvance!

推荐答案

据你所说的对应用程序改变整个主题的意思是不清楚。对于API等级11+的设备,你应该使用 @android:款式/ Theme.Holo.NoActionBar

It is unclear what you mean by "whole theme of app changes". For API Level 11+ devices, you probably should be using @android:style/Theme.Holo.NoActionBar.

阅读全文

相关推荐

最新文章