TextView won't break text

后端 未结 2 999
别跟我提以往
别跟我提以往 2021-01-07 05:52

I am having trouble with textView not breaking line before ICS. In ICS (i belive honeycomb works as well but i havent tried it tho) the text inside textView breaks nicely bu

2条回答
  •  暖寄归人
    2021-01-07 06:25

    In addition to Shine answer I had to set corresponding parameters to the TextView:

                    android:ellipsize="none"
                    android:maxLines="20"
                    android:scrollHorizontally="false"
                    android:singleLine="false" 
    

    Example:

               
    

提交回复
热议问题