I want to change the ellipsis string from ... to custom string, such as ...[more].
But in TextUtil, the ellipsis string is fixed:
private static final String ELLIPSIS_STRING = new String(ELLIPSIS_NORMAL);
Then how to change the ellipses?
I was surprised that there isn't any good solution to that yet, so I spent sometime and wrote my own custom TextView which allows you to show a custom ellipsis. Few things I had in mind while developing it:
Have a look and let me know if you find any issues: https://github.com/TheCodeYard/EllipsizedTextView
And here's a screenshot:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With