I wrapped the TextView in a ScrollView (even though TextView is documented as handling it's own scrolling and doesn't need a ScrollView). This let me call the fullScroll( View.FOCUS_DOWN) method in the ScrollView to make the newest text visible.
On Fri, Jan 28, 2011 at 11:35 AM, Tobiah <t...@tobiah.org> wrote: > On 01/28/2011 09:50 AM, John Lussmyer wrote: > >> I have a TextView that frequently has text appended from a service. >> I can append the text just fine, but how do I make the TextView scroll so >> the newly appended text is visible? >> Once the view fills, the new text is below the bottom edge. >> > > I haven't used it for Android, but usually there is a Scrollable container > that lets you put things into it that are larger than the screen. There > must > be such a widget... check the methods. I imagine that you can set the > scroll > position programmatically. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en