1

I have a media player to play mp3 file and a text view show content of song mp3. Now i want text view can scroll vertical when mp3 run. How I can do it?

1 Answer 1

0

Just set the

android:maxLines = "AN_INTEGER" android:scrollbars = "vertical" 

properties of your TextView in your layout's xml file.

Then use:

yourTextView.setMovementMethod(new ScrollingMovementMethod()); 

for more detail and reference visit this : Making TextView scrollable on Android

Hope this will help you.

Sign up to request clarification or add additional context in comments.

1 Comment

how i can set it auto scroll?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.