I\'m trying to create an animation which moves a TextView from left to right and loop indefinitely. This is the TextView I want to animate:
TextView
<
Android has a built-in solution for this called 'marquee'.
Add these lines to your TextView.
Then simply call
txtTitle.setText(title); txtTitle.setSelected(true);
However, this only works if the text is long enough to go out of bounds.