in action for celsius
tempValue.setText((resultemp) + " \u2103");
for fahrenheit
tempValue.setText((resultemp) + " \u2109");
for Kelvin
tempValue.setText((resultemp) + " \u212A");
for romer
tempValue.setText((resultemp) + " \u00B0R");
In xml.file for Celsius
android:text="\u2103"
for fahrenheit
android:text="\u2109"
for Kelvin
android:text="\u212A"
for romer
android:text="\u00B0R"
Paphat Srinontri Mar 05 '17 at 15:34 2017-03-05 15:34
source share