Why does TextView in single line elipsized with “end” show boxes?

前端 未结 6 1150
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 20:21

I\'m using a TextView in Android, what I want to show 1 line in TextView ending with \". \" but this give [] type box at the end. I don\'t know why? I just want to remvoe t

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 20:48

    Arslan, your layout is working fine in my case, I have tested the same with:

     
    

    ... and getting the exact output as you want "one line ended with ..." and box should be removed. So I think there may be a something wrong with any character or text you are setting.

提交回复
热议问题