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