filipp.kowalski
filipp.kowalski

Reputation: 5615

How to put special trade character in Android string.xml

I need to put "TM" (trademark) character in my string.xml, how I should do that ?

<string name="snap_recipesnap_button">RecipeSnap\&trade;</string>

I have sth like this but it doesn't work

Upvotes: 2

Views: 2029

Answers (1)

Bhavin Nattar
Bhavin Nattar

Reputation: 3215

May this help you:

<string name="snap_recipesnap_button">RecipeSnap &#8482;</string>

Upvotes: 7

Related Questions