删除应用程序标题栏的android [英] Remove app title bar android

查看:193
本文介绍了删除应用程序标题栏的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.

这篇关于删除应用程序标题栏的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆