Android - TextView 设置行间距、行高

在你要设置的TextView中加入如下代码:

1、android:lineSpacingExtra 
设置行间距,如”8dp”。

2、android:lineSpacingMultiplier 
设置行间距的倍数,如”1.5″。

posted @ 2015-10-11 16:27  偷着乐  阅读(1831)  评论(0)    收藏  举报