How would one use an @ symbol inside a string in strings.xml?
<string name="twitter">@npike</string>
The XML editor gets rather angry:
error: Error: No resource type specified (at 'twitter' with value '@npike').
I would suggest use unicode like \u0040 instead of '@' symbol. XML processing doesn't like special symbols. Here is list of special characters and it's unicode valuesSpecial characters and unicode values
Use this instead :
<string name="twitter">\@npike</string>
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