I write
<string name="magazine">Newspaper & Magazines</string>
in strings.xml
But the Compiler says:
The entity name must immediately follow the '&' in the entity reference. strings.xml /OOReaderWidget/res/values line 9 Android XML Format Problem
So how Can I show a "&" in strings.xml? Thanks!
This question is related to
xml
'&' --> '&'
'<' --> '<'
'>' --> '>'
You can use &
in place of &
Source: Stackoverflow.com