我正在使用高级刷卡工作(需要当前,下一个和上一个被加载以允许每个视图粘在手指上),这意味着我有很多视图这导致事情有点慢。在Android多行TextView中禁用自动换行
| | #<-- screen bounderies
' previous ' current ' next ' #<-- three months loaded
' previous ' current ' next ' #<-- three months when the user drags their finger
因此,我想在单个TextView中表示多个事件。当用户在月视图(小屏幕)上点击其中一天时,它将打开当天的日视图。
在每一天的月视图(通常一天获取屏幕宽度的七分之一和身高有点不足七分之一),我想避免这种
| 31|
|10a: |
| Testi|
|ng |
|11a: |
相反,我想
| 31|
|10a: |
| Testi|
|11a: |
| Anoth|
请注意,ng
被切断,而不是包装到下一行。这是我正在寻找的。
http://stackoverflow.com/a/2507873/1059705 – Bala 2012-08-17 09:56:31
它需要支持行返回,同时仍禁止自动换行。 – 2012-08-18 16:01:20