Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show the copyright symbol in a Android dialog?

Tags:

android

I have to show copyright symbol: © in the message of an AlertDialog. I set a string value with the copyright symbol in res/string. But the symbol is shown as a question mark when the dialog opens. How can I correctly show the copyright symbol in the dialog. Thanks.

like image 700
user256239 Avatar asked Jul 13 '10 23:07

user256239


People also ask

How do I insert a copyright symbol on my Android?

When you land on the keyboard layer that shows numbers and punctuation, tap the ~ [ < key on the lower-left side to switch to the symbols keyboard. The copyright symbol is in the first row above the space bar, along with the Registered (®) and Trademark (™) symbols.

How do I insert a copyright symbol?

Copyright and trademark symbols can be added by using a keyboard shortcut. For example: To insert the copyright symbol, press Ctrl+Alt+C. To insert the trademark symbol, press Ctrl+Alt+T.

How do I add a copyright symbol to my browser?

Answer: To insert the copyright symbol, you need to type &copy; or & #169; in an HTML file.


1 Answers

You can also use the Unicode character for this: "\u00A9 2010 Test"

like image 166
hvdm Avatar answered Oct 02 '22 07:10

hvdm