Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a TextView in Android have Horizontal Scrolling and autoscrolled?

I want to have a simple TextView with horizontal scrolling, I know that I use HorizontalScrollview for that and I want the text to be autoscrolled continuously. Is that possible?

like image 690
Hayate Avatar asked Jun 02 '10 11:06

Hayate


1 Answers

You could use android:ellipsize="marquee" in the TextView attributes or by implement your own animation

like image 70
Francesco Laurita Avatar answered Sep 29 '22 15:09

Francesco Laurita