How do I completely prevent a TextView from scrolling?

后端 未结 5 2115
借酒劲吻你
借酒劲吻你 2020-12-17 17:05

I have a TextView with a lot of text. This TextView has maxLines set, so it only shows the first 8 or so lines. I also have a \"Read More\" button so I handle e

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-17 17:30

    Try these lines of code in xml

    android:isScrollContainer="false"
    android:ellipsize="end"
    

提交回复
热议问题