有没有办法将小圆度符号包含到TextView中?这将是温度读数,如摄氏度或华氏度。我想知道以前是否有人以编程的方式做到了这一点。
发布于 2010-07-23 02:27:49
发布于 2016-03-06 21:15:44
发布于 2018-04-17 17:29:23
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="\u00B0"/>
如果android studio布局预览中看不到sign,则需要添加
xmlns:tools="http://schemas.android.com/tools"
添加到根xml元素。
https://stackoverflow.com/questions/3312001
复制相似问题