I want to set suffix for the email and want to use string.xml
<string name="emailSuffix">@gmail.com</string>
code is not allowing me to add '@' at start of the string.
Any idea how and what should I do?
I have searched but found nothing but I have tried finding code for '@' like ' , " etc but no result there also.
CodePudding user response:
Solved the error and found solution
just add \ before the @
it will work fine
CodePudding user response:
Just Add this "\" before your "@" like below
<string name="emailSuffix">\@gmail.com</string>
If you have any issues. Let me know