Android set degree symbol to Textview

Karoly picture Karoly · Aug 9, 2010 · Viewed 43.2k times · Source

How can I set the degree symbol to a TextView in Android?

Answer

Ryan Conrad picture Ryan Conrad · Aug 9, 2010

The unicode value for it is U+00B0 so you could do the following:

myTextView.setText ( "78" + (char) 0x00B0 );