Register Login

Create Scrolling/Marquee Text in Android

Updated May 19, 2018

How to Use Marquee Text in Android App

In this Android tutorial, we will learn How to Use Marquee Text in Android App using Android Studio in few simple steps. Marquee Html allows user to scroll text or image from left to right, right to left, top to bottom, bottom to top which help user to read long tutorial or news.

Please follow the steps below in order to create Marquee Text for Android applications:

1.Open Android Studio.

2.Go to Text.

3.Create Text View and give all the attributes which are needed.

4.Click on MainActivity.java

5.Show the Text View and give the variable name (here, it is given tv)

6.Set tv.setSelected(true)

7.Go back to activity_main.xml and click on Design.



8.Run it in your device and see the text moving from one to another.

 


×