Java – Android layout files do not allow characters such as &, <, >
•
Java
When I try to use &, <, > as main XML and strings XML, which returns an error I want to mean "&" and "<" sign in text view in my application anyway How do you do it? Please give me some advice Thank you in advance
Solution
As @ wellog said, you need five XML escape sequences:
" " ' ' < < > > & &
Resources: XML document escape characters
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码