android - 从 Android Studio 中删除应用程序的栏标题

标签 android android-layout

我想删除应用程序上的标题栏 blue bar在 android studio 中,我尝试在 manifest.xml 中使用不同的主题 ( android:theme="@style/AppTheme.NoTitleBar") 但这没有用,那么,我该如何从这个 Activity 中隐藏这个标题栏?

activity.xml

我的 manifest.xml 是这样的:

manifest.xml

我的 styles.xml 是这样的:

enter image description here

最佳答案

在手机上方的左侧(布局预览)有 AppTheme 文本,单击它并选择您想要的主题。我用红色突出显示了它 enter image description here

关于android - 从 Android Studio 中删除应用程序的栏标题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36253561/

相关文章:

android - 如何使用 twitter4j 获取所有 Twitter 关注者的列表?

android - java.lang.NoClassDefFoundError : Failed resolution of: Landroid/support/v4/animation/AnimatorCompatHelper

android - 使用 RecyclerView + AppBarLayout

android - Parse.com 检索整个数组 android

android - 创建室内导航 map

android - SearchView 提示未显示

android:在封闭路径之外而不是在内部绘制

android - 按钮中的渐变效果

android - 如何将 ChrisBanes 的 ActionBar-PullToRefresh 库与具有 GridView 的 fragment 一起使用

android - 使用 Firebase 填充 ListView 时遇到问题