[android-developers] Re: Extremely frustrating = TextView in ScrollView - Scroll to bottom?

2009-05-28 Thread skink
On 28 Maj, 01:28, Peter Carpenter peter.carpen...@skytechnologies.com wrote: Hi guys, It appears that plenty of people have asked about this in newsgroups, but no solution offered. textView.setText(s); try: tv.setText(s); sv.post(new Runnable() { void run() { sv.scrollTo(0,

[android-developers] Re: Extremely frustrating = TextView in ScrollView - Scroll to bottom?

2009-05-28 Thread Peter Carpenter
-developers] Re: Extremely frustrating = TextView in ScrollView - Scroll to bottom? On 28 Maj, 01:28, Peter Carpenter peter.carpen...@skytechnologies.com wrote: Hi guys, It appears that plenty of people have asked about this in newsgroups, but no solution offered. textView.setText(s); try

[android-developers] Re: Extremely frustrating = TextView in ScrollView - Scroll to bottom?

2009-05-27 Thread Raphael
I often use a TextView withing a ScrollView as a quick log in early prototype of apps, for debugging. Typically I just set the selection to the end of the text, which moves the caret and thus makes sure it's visible: mLogTextView.append(msg); mLogTextView.setSelected(true); Spannable text =