Java 错误:(45)解析XML时出错:格式不正确(无效标记),因为按钮“无效”<<&引用;
我有一个按钮android studio,这是我的代码: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按钮,但要使用
<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="<<"
android:text="<<"