How do I make my TextView scroll as I append new lines?  Here's my
code that doesn't work yet:


final TextView outputField = (TextView) findViewById( R.id.outputTextView );

outputField.setMovementMethod( ScrollingMovementMethod.getInstance() );

for( int x = 1; x < 100; x++ )
{
  outputField.append( x + "\n" );
  outputField.scrollTo( 0, x * 60 );
}

Do I need to repaint or redraw or something?


Thanks,


-- 
Greg Donald
http://destiney.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to