How to find out if TextView text content has been cut off

Posted by richard on Stack Overflow See other posts from Stack Overflow or by richard
Published on 2010-05-20T17:07:33Z Indexed on 2010/05/20 17:10 UTC
Read the original article Hit count: 208

Filed under:

Hi,

I can set max line in my TextView in layout xml file. In my code, after I call setText() to the TextView, how can I find out if the text content has been cut off (i.e. the text is longer than the max line)?

Thank you.

© Stack Overflow or respective owner

Related posts about android