I want to enter string \" -< \"
in strings.xml
file in eclipse, the string has character <
and I couldn\'t add it to xml file withou
If you are using eclipse then right click on strings.xml & open it with "Android Common XML Editor" & add from there it will handle escaping for you.
Two options
&
<![CDATA[&this is my> string and I <can put all the strange symbols I want inside]]>
In the graphical editor (i guess the "Recources" tab), you can type any symbol into the value box, and it'll automatically put the appropriate characters in the xml. So that's good if you don't want to look the codes up.