如何在我的按鈕中將「<」和「>」設置爲文本?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