According to the Android Developer's Guide , you will have to avoid certain backslash characters \ or span the entire string with double quotation marks " " . Only if the line starts with @ , should it be escaped.
Backslash:
<string name="twitter">\@user</string>
<string name="email"> user@domain </string>
Double quotes:
<string name="twitter">"@user"</string>
<string name="email"> user@domain </string>
The other characters to be escaped are < > & ' " ?
Liggliluff
source share