How to put a “<” in string.xml file i ve been searching for a solution for this problem but i cant any and im getting an error when i just put a simple < in the string file any ideas i saw this question but its not the same with mu problem How to put a "-" in string.xml file
here is my code
<string name="sp"> SP </string>
<string name="p1"> P1 </string>
<string name="p2"> P2 </string>
<string name="p3"> P3 </string>
<string name="p4"> P4 </string>
<string name="dialogprevious"> < </string> -- error here
<string name="dialognext"> > </string>
Write < as entity-escaped < (mnemonic: lt as in less than).
Similarly > as > (greater than).
Further reading: http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With