Android TextView设置空格

代码里

TextView.setText("\u3000")

xml里(& #160;)

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="一九八六年&#160;农历乙丑年&#160;七月二十八日" />

猜你喜欢

转载自blog.csdn.net/zhe_ge_sha_shou/article/details/80066954
今日推荐