在用TextView显示一段中文时发现会提前换行,用网上搜索到的方案都解决不了,最终选择用EditText代替之
<EditText android:layout_width="wrap_content" android:layout_height="wrap_content" android:enabled="false" android:background="@null"/>
在用TextView显示一段中文时发现会提前换行,用网上搜索到的方案都解决不了,最终选择用EditText代替之
<EditText android:layout_width="wrap_content" android:layout_height="wrap_content" android:enabled="false" android:background="@null"/>