views:

28

answers:

0

I want to implement a tickertape effect that will display 3 messages.

The messages will scroll across the top of my application in a single line with each message seperated by a small image.

I have initially used just a TextView with one message as a test and used an animation effect to translate the Textview into view. But I encountered a problem.

The textview sizes itself to the width of the parent container meaning that the full message is not being displayed. I have the inputType set as longmessage and singleLine set as true for the TextView. Ultimately I was hoping to translate a LinearLayout into view but the problem with the views not sizing and cutting my text has me in trouble.

How can I achieve messages seperated by images being animated across the screen in a single line?