Degrees symbol (as in Degrees Celsius/Fahrenheit) in a TextView

后端 未结 6 1851
孤城傲影
孤城傲影 2020-12-13 08:19

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 Fahrenheit. I\'m wondering if any

6条回答
  •  悲哀的现实
    2020-12-13 08:37

    For displaying degree symbol in a TextView, you can use from the "& #176;" without any distance. As you can see an example below:

    `android:text="10& #176;c" So this command will show you as a 10°c on the screen android.

提交回复
热议问题