Auto Scroll Text View

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

Algorithm:

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

  1. Run for output.

Steps:

  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.

Output

Leave a Comment:

1 comment
abner says August 31, 2013

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

Reply
Add Your Reply