Is there a way to hide text in a TextView?

前端 未结 7 2295
清歌不尽
清歌不尽 2021-02-08 13:09

Is there a way to hide some (but not all) of the text in a TextView? I tried setting the size to 0 with AbsoluteSizeSpan, but that doesn\'t have any visual effect that I see.

相关标签:
7条回答
  • 2021-02-08 14:02

    I think you're looking for: TextView.setVisibility(View.GONE)

    0 讨论(0)
提交回复
热议问题