解决TextView换行异常问题

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

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

 

posted @ 2018-09-21 22:52  土豆吞噬者  阅读(336)  评论(0编辑  收藏  举报