HI,

What is the best way to implement scrolling text (with behavior
similar to that of HTML tag 'marquee')??

I've been trying to do this using TextViews + Animations but I'm
having troubles primarily because of sizing issues. If my text is long
enough that it exceeds the screen width, it won't be drawn completely
(it's size will be chopped at screen width). Thus,  when I animate it
from right to left, only a part of the text will be displayed. This
happens if I allow a maximum of 1 line in my TextView, because
otherwise it makes the TextView have multiple lines. If I make it
horizontally scrollable, the same 'chopped-off' behavior is seen.

I think this happens because the TextView's parent imposes some
restrictions on its size. Is there a way to bypass these restrictions
so that the TextView is 'drawn' even if parts of it will be off-
screen?

If that's not possible, what's an alternative way of implementing this
behavior?

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