关于全屏幕和从清单中没有标题栏 [英] About the Full Screen And No Titlebar from manifest

查看:109
本文介绍了关于全屏幕和从清单中没有标题栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设置全屏查看我的应用程序。 我要设置在单独的活动全屏 NoTitlebar 的理念。 但我想将它设置在我的清单文件,并为整个应用程序不仅为Perticullar活动。 。 。它是如何可能的? 帮我。 。 。谢谢你。

I want to set the Full screen view in My application. I got the Idea about to set it in individual activity for FullScreen and NoTitlebar . But i want to Set it in My Manifest file and for the Whole application not only for Perticullar activity. . . How it is Possible ?? Help me. . . Thanks.

推荐答案

要设置您的应用程序或在全屏模式下的任何个人行为显示,请将code

To set your App or any individual activity display in Full Screen mode, insert the code

<application 
    android:icon="@drawable/icon" 
    android:label="@string/app_name" 
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen">

在AndroidManifest.xml中,根据应用程序或活动的标签。

in AndroidManifest.xml, under application or activity tab.

这篇关于关于全屏幕和从清单中没有标题栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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