XML格式不正确 - 特定字符(XML not well formed exception - on specific characters)
嗨,我正在尝试使用字符制作箭头按钮:“<”,“>” 出于某种原因,它尖叫:android:text =“<” 例如,如果我更改为“*”,它将成功编译,我应该更改什么?
Hi I am trying to make an arrow buttons with the characters: "<" , ">" For some reason it screams on : android:text="<" If I change to "*" for example, it will get complied successfully what should I change?
最满意答案
尝试使用&lt; for <和&gt; for>而不是双引号内。
android:text="<"要么
android:text=">"Try using < for < and > for > instead inside the double quotes.
android:text="<"or
android:text=">"更多推荐
发布评论