skip to Main Content

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.

2

Answers


  1. Chosen as BEST ANSWER

    Solved the error and found solution

    just add before the @

    it will work fine


  2. Just Add this "" before your "@" like below

    <string name="emailSuffix">@gmail.com</string>
    

    If you have any issues. Let me know

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search