I really cannot figure out why, but I am only able to get ellipsize working on maxLines=2 and more. I am displaying a few words of description and then a long s
maxLines=2
This code works for me:
In the xml add:
ellipsize
marquee
lines
1
In java:
.setHorizontallyScrolling(true); .setSelected(true);
If there is another item that request the "focus" you lose the marquee effect. The textView need the state selected to prevent this.
textView