Custom fonts, ellipsis on MultiLine TextViews, Glyphs and glitches.
Posted
by Samuh
on Stack Overflow
See other posts from Stack Overflow
or by Samuh
Published on 2010-05-25T10:25:32Z
Indexed on
2010/05/25
10:31 UTC
Read the original article
Hit count: 663
I am required to use custom fonts in my application.
Problem: For ListViews
that contain rows with Multi-Line TextViews having ellipsize
property set to true, I can see some illegible characters after the ellipsis. Apparently Android pads the String(in TextView) with some characters unknown to my custom font.
Single line TextView seem to work just fine.
What is the best way to hide these characters or remove the padding?
Thanks.
© Stack Overflow or respective owner