Tuesday, November 8, 2011

How to use & in Android strings.xml

If you want to add "&" to strings.xml, use "&" as it is an xml file.


Wrong ->     <item>Photography & wallpaper</item>
Right ->       <item>Photography &amp; wallpaper</item>