Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.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 错误:(45)解析XML时出错:格式不正确(无效标记),因为按钮“无效”<<&引用;_Java_Android_Xml - Fatal编程技术网

Java 错误:(45)解析XML时出错:格式不正确(无效标记),因为按钮“无效”<<&引用;

Java 错误:(45)解析XML时出错:格式不正确(无效标记),因为按钮“无效”<<&引用;,java,android,xml,Java,Android,Xml,我有一个按钮android studio,这是我的代码: <Button android:layout_width="40dp" android:layout_height="40dp" android:background="@color/colorAccent" android:text=" << " android:textColor="@color/colorText" /> 问题是如何制作android studio按钮,但要使用

我有一个按钮android studio,这是我的代码:

<Button
   android:layout_width="40dp"
   android:layout_height="40dp"
   android:background="@color/colorAccent"
   android:text=" << "
   android:textColor="@color/colorText" />

问题是如何制作android studio按钮,但要使用文本值“你必须避开每个
你需要避开“非常感谢,现在我的项目可以运行了”谢谢,现在我的项目可以运行了
android:text="<<"
android:text="Button"
android:text="&lt;&lt;"
android:text="&lt;&lt;"