How to Make a TextView Scrollable in Android Java

To make a TextView scrollable in android java, Add these lines in your project   In XML : android:maxLines=”1000″ android:scrollbars = “vertical”   In Java Activity : YourTextview.setMovementMethod(new ScrollingMovementMethod());   Explanation android:maxLines=”1000″ android:scrollbars = “vertical” Here, android:maxLines=”1000″ sets the number of lines that…

Posts navigation