How can I show ellipses on my TextView if it is greater than the 1 line?(如果 TextView 大于 1 行,如何在 TextView 上显示省略号?)
问题描述
我的以下布局不起作用:
I have the following Layout which does not work:
推荐答案
这是一个常见的问题.尝试使用以下内容:
This is a common problem. Try using the following:
........ scrollHorizontally 是使它工作的特殊调味料".
.............. the scrollHorizontally is the "special sauce" that makes it work.
这篇关于如果 TextView 大于 1 行,如何在 TextView 上显示省略号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!