use this:

tv.setEllipsize(TruncateAt.END);

hope this helps u...

cheers!

On Thu, Jul 16, 2009 at 6:31 PM, Mr.No <f.hi...@arcor.de> wrote:

>
> Hello,
> how can i make the text in a textview wrap the tail into ... if the
> textviews width is not enough for the text?
> Like this:
> Text: Hello World.
> Assumed  that the text is too long for the textview, then the textview
> should display this:
> Wraped text: Hello ...
>
> thx folks in advance
> >
>

--~--~---------~--~----~------------~-------~--~----~
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