如何在我的按钮中将“<”和“>”设置为文本?Android。 Gradle构建错误:解析XML时出错:格式不正确(无效标记)
我的XML:
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=">"
android:id="@+id/button" />
摇篮建立自己的错误: 错误:(59)错误解析XML:没有很好地形成(标记无效)
尝试'android:text =“\>”'。 –
@RaphaelTeyssandier我尝试这个并清除&重建项目,但问题仍然存在:( – Mikhail