如何摆脱应用程序顶部的程序名称栏? [英] How to get rid of the program name bar at the top of the application?
本文介绍了如何摆脱应用程序顶部的程序名称栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想摆脱在我的应用程序顶部出现的默认灰色条.我似乎无法找到要设置的属性或设置.如何做到这一点?谢谢
i would like to get rid of the defualt grey bar which apears at the top of my application. I just can't seem to find the attribute or setting to do so. how can this be achived? thanks
推荐答案
为此特定的< activity>使用
元素,或者整个 android:theme ="@ android:style/Theme.NoTitleBar"
; < application>
元素(如果您希望所有元素都消失).这是一个常见问题解答条目.
Use android:theme="@android:style/Theme.NoTitleBar"
, either for this specific <activity>
element in your manifest, or for the whole <application>
element if you want it gone for all of them. Here's a FAQ entry about it.
这篇关于如何摆脱应用程序顶部的程序名称栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文