How to "auto-scroll" a TextView

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

How to "auto-scroll" a TextView

Postby misato » Wed Dec 30, 2009 3:54 pm

Hi,
I've got a TextView wich i'm allways updating with new text. I'd like to scroll it when it reaches the bottom of the screen but even though i've got android:scrollbars="vertical" in the layout, and
myTextView.setMovementMethod(new ScrollingMovementMethod()); it scrolls to the middle of the textView.
How do i make scroll to the bottom correctly everytime I update this textView?
Thanks in anticipation!
misato
Freshman
Freshman
 
Posts: 7
Joined: Wed Jan 07, 2009 11:55 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests