Hi,

I have a normal TextView which has multiple lines. I set its max
number of lines to 3. I'd like it to show an ellipsis at the end if
the text is too long:

  TextView tv = new TextView(context);
  tv.setLines(tv);
  tv.setText("some really long text...");

I tried the set ellipsis calls but it doesn't seem to do anything -
the text appears the same way. How do we get this to work?

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to