Prevent TextView from wrapping in parent

前端 未结 5 1971
耶瑟儿~
耶瑟儿~ 2020-12-13 18:19

How do I prevent a TextView, or any visual object, from wrapping to the screen and instead have them chopped off the sides? Is there some XML attribute or code to do this or

5条回答
  •  粉色の甜心
    2020-12-13 18:50

    Have you checked out android:scrollHorizontally. There is also a HorizontalScrollView if that doesn't work.

提交回复
热议问题