TextView cuts off text when it is long enough

后端 未结 6 1418
执笔经年
执笔经年 2021-01-31 11:16

I have strange problem with TextView, it cuts off part of the text at the end. My layout looks like



        
6条回答
  •  耶瑟儿~
    2021-01-31 11:53

    For me it I realised I was using the layout view of a different device to the one I was testing with. When I corrected this, I could see the textlayout was way too wide so I used this setting to reign it in:

    android:layout_width="330dp"
    

提交回复
热议问题