There are past threads on this you can dig up. Basically you have to give the ScrollView a chance to realize it has had stuff added to it. For example: scroll.post(new Runnable() { public void run() { scroll.fullScroll(ScrollView.FOCUS_DOWN); } });
On Jun 17, 7:49 pm, Neilz <neilhorn...@gmail.com> wrote: > Anyone? This must have been encountered before? > > :-) > > On Jun 16, 1:32 pm, Neilz <neilhorn...@gmail.com> wrote: > > > Hi all. > > > When I update the textview within my scrollview, I want the scrollview > > to automatically scroll down to the bottom, so that the latest text is > > displayed. > > > I've tried this code: > > > scroll.fullScroll(ScrollView.FOCUS_DOWN); > > > ...and it worked once or twice, intermittently, but generally has no > > effect at all. > > > Anyone know a better way to achieve this? -- 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