Make textview scrollable in android

Make Textview scrollable in android

Add the following in the Textview in XML.

android:scrollbars="vertical"

And finall add below line in your java file.

textView.setMovementMethod(new ScrollingMovementMethod());

Leave a Reply

Your email address will not be published. Required fields are marked *