Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/219.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android项目的全局标题栏_Android_Xml - Fatal编程技术网

Android项目的全局标题栏

Android项目的全局标题栏,android,xml,Android,Xml,我是Android新手,我正在做一个部分完成的Android项目 在我的应用程序的所有屏幕上都有一个标题栏,标题栏的左侧有应用程序的徽标和应用程序名称。此标头也会自动添加到新创建的xml文件中。但我想从这个标题栏中删除应用程序图标。当我查看我的.xml文件时,我没有找到任何关于徽标或应用程序名称的引用。我怀疑标题是在项目的某个地方全局定义的。我如何在我的项目中找到它,以便编辑它 我想从标题中删除“SD”图像。这是我的xml <?xml version="1.0" encoding

我是Android新手,我正在做一个部分完成的Android项目

在我的应用程序的所有屏幕上都有一个标题栏,标题栏的左侧有应用程序的徽标和应用程序名称。此标头也会自动添加到新创建的xml文件中。但我想从这个标题栏中删除应用程序图标。当我查看我的.xml文件时,我没有找到任何关于徽标或应用程序名称的引用。我怀疑标题是在项目的某个地方全局定义的。我如何在我的项目中找到它,以便编辑它

我想从标题中删除“SD”图像。这是我的xml

    <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/bg_main"
    tools:context=".AlbumFragment" >

    <fragment
        android:id="@+id/fragmentBook"
        android:name="com.hcpt.course.fragment.BookFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <fragment
        android:id="@+id/fragmentBookMark"
        android:name="com.hcpt.course.fragment.BookMarkFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <fragment
        android:id="@+id/fragmentSetting"
        android:name="com.hcpt.course.fragment.SettingFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <fragment
        android:id="@+id/fragmentAbout"
        android:name="com.hcpt.course.fragment.AboutFragment"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</RelativeLayout>


检查
style.xml
中的
AppTheme
@cricket\u 007。我该怎么办?你在用全息图?您的目标API级别是什么?@cricket_007 minSdkVersion 13 targetSdkVersion 22。这是个问题吗?对不起,我对这个完全陌生。可能是重复的