Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.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
Java 安卓工作室一直在给我留言”;分析XML时出错:格式不正确(无效令牌)";_Java_Android_Xml - Fatal编程技术网

Java 安卓工作室一直在给我留言”;分析XML时出错:格式不正确(无效令牌)";

Java 安卓工作室一直在给我留言”;分析XML时出错:格式不正确(无效令牌)";,java,android,xml,Java,Android,Xml,我不知道是什么问题。我不知道这是我使用的图像还是有一个拼写错误的单词 <?xml version="1.0" encoding="utf-8"?> < RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:to

我不知道是什么问题。我不知道这是我使用的图像还是有一个拼写错误的单词

   <?xml version="1.0" encoding="utf-8"?>
    < RelativeLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingBottom="@dimen/activity_vertical_margin"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin"
        android:paddingTop="@dimen/activity_vertical_margin"
        app:layout_behavior="@string/appbar_scrolling_view_behavior"
        tools:context="com.example.jam7733.myapplication.MainActivity"
        tools:showIn="@layout/activity_main"
        android:weightSum="1"
        android:orientation="horizontal"
        android:background="@drawable/initialappdesign">

        <ImageButton
            android:layout_width="500dp"
            android:layout_height="100dp"
            android:id="@+id/button1"
            android:layout_alignParentTop="true"
            android:layout_alignParentLeft="true"
            android:layout_alignParentStart="true"
            android:layout_marginTop="83dp"
            android:src="#fd0000" />

    </RelativeLayout>


也许问题出在您的
相对论之前的“”
修复它

< RelativeLayout


<RelativeLayout