TextView cuts off text when it is long enough

后端 未结 6 1366
执笔经年
执笔经年 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条回答
  •  猫巷女王i
    2021-01-31 11:52

    Set below properties in layout file. It works fine for me

    android:singleLine="true"
    android:ellipsize="marquee"
    android:marqueeRepeatLimit="marquee_forever"
    android:focusableInTouchMode="true"
    

提交回复
热议问题