解决TextView换行异常问题

在用TextView显示一段中文时发现会提前换行,用网上搜索到的方案都解决不了,最终选择用EditText代替之

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" 
            android:enabled="false"
            android:background="@null"/>

猜你喜欢

转载自www.cnblogs.com/Potato-Eater/p/9688900.html