首页 > 其他 > 详细

解决TextView换行异常问题

时间:2018-09-22 00:22:03      阅读:258      评论:0      收藏:0      [点我收藏+]

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

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

 

解决TextView换行异常问题

原文:https://www.cnblogs.com/Potato-Eater/p/9688900.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!