Android 从操作栏中删除标题栏

标签 android android-fragments android-actionbar android-titlebar

我的应用程序中有一个 Activity ,它使用带有操作栏的可滑动选项卡

例如:-

this tutorial

所以我的问题是向我的 Activity 添加操作栏并删除标题栏

similar question

最佳答案

我不确定您将什么分类为标题栏,但您可以通过将以下内容放入特定 Activity 的 Android list 中来在 XML 中执行此操作,以删除标题栏。

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

关于Android 从操作栏中删除标题栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26038185/

相关文章:

android - Eclipse ADT 版本 21 插件,当一切正确设置时无法编译工作区 "no targets available”

java - 使用一种布局并在 Eclipse 中以编程方式更改字符串

android - 如何在 cmake 中添加对自定义 android 编译器的支持?

android - 暂停时的 onClick 或 onItemClick 结果为 "IllegalStateException: Can not perform this action after onSaveInstanceState"

android-actionbar - 如何为整个Android应用程序设置相同的字体系列

android - 如何以编程方式更改 ActionBar 菜单项文本颜色?

android - 如果设备中未安装 Twitter 应用程序,则 Twitter 登录不起作用

Android fragment : The fragment is not getting displayed. 没有警告,没有错误

android - 如何为 LinearLayout 中的 Fragments 分配比例尺寸?

android - Android actcionbar xml 中的图标错误