Auto Scroll Text View

This example will show how to set auto scroll in text view in android.


  1. Create a new project by File-> New -> Android Project name it AutoScrollTextView.
  2. Write following into main.xml:

  1. Run for output.


  1. Create a project named AutoScrollTextView and set the information as stated in the image.

Build Target: Android 4.2
Application Name: AutoScrollTextView
Package Name: com.example.AutoScrollTextView
Activity Name: AutoScrollTextViewActivity










  1. Compile and build the project.


Leave a Comment:

1 comment
abner says August 31, 2013

This is a horizontal scroll simple,but how to a vertical

Add Your Reply