views:

47

answers:

1

Is there a way to include the small circular degrees symbol to a TextView? This would be for temperature readings, as in degrees celsius or farenheight. I'm finding this an awkward question to Google, and wondering if anyone has done this programatically before.

+1  A: 

There is a unicode symbol for Celsius degrees that you can use in Java: "\u2103" and also, for Farenheight you can use: "\u2109"
I have not checked if this works in Android, but if it does, it should work as a solution for you.

Luis Miguel
Yes! It did work. I tried it on a 1.5 emulator and a 2.2 emulator, and tv.setText("\u2103") worked no problem.
Aurora