Stop a Scrolling Marquee on a TextView

How to Stop a  Scrolling Marquee on a TextView

1. Create an Android project, if you don't already have one.

2. Add a Scrolling Marquee to your activity. 

3. Add the following to MainActivity.java on the onCreate method,  to stop the scroll. 

       myTextView.setSelected(false); 


4. Compile and run!

Related Articles:


  • Make a Scolling Marquee on a TextView

  • Resources: