I'd like to shorten the text out if it's too long and add "..." at end. This is the example where I would like to clip the text:
I've tried multiple variations of code (TruncateAt.END, .setLines(4), ...) but I think this should work:
textv.setMaxLines(4);
textv.setEllipsize(TruncateAt.MARQUEE);
But the result is this:
What is wrong?