移除 Android 应用标题栏 [英] Remove Android App Title Bar

查看:22
本文介绍了移除 Android 应用标题栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解清单中的这些属性:

I understand that these properties in the manifest:

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

可以去掉标题栏.但是,当我修改我的应用程序时,我会不断检查图形布局.当我查看图形布局时,我仍然会看到标题栏.我想以一种在游戏开发过程中不需要看到的方式移除标题栏.

can remove the title bar. However, I constantly check the Graphical Layout when I am modifying my app. When I look at the Graphical Layout I still see the title bar. I want to remove the title bar in a way that I don't have to see it during the development of the game.

推荐答案

  1. 在设计"选项卡中,单击 AppTheme 按钮

  1. In the Design Tab, click on the AppTheme Button

选择选项AppCompat.Light.NoActionBar"

Choose the option "AppCompat.Light.NoActionBar"

点击确定.

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

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