开发者

Android set degree symbol to Textview [duplicate]

This question already has answers here: 开发者_C百科 Degrees symbol (as in Degrees Celsius/Fahrenheit) in a TextView (7 answers) Closed 9 years ago.

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


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

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜