Cannot scroll down ScrollView/TextView on creation of activity
<p>I have an activity with textview, where a certain file is printed. I need to autoscroll it all way down to the end. Code below doesn`t work in onCreate, though when I call the same method (last two lines) from button (onClick) on the screen of that activity, everyhing works just fine. Could you please inform me where the trick is? </p>

<p>Code:</p>

<pre><code>public class LogViewer extends AndroidClientBase implements OnClickListener {

@Override
protected void onCreate(Bundle savedInstanceState) { 
    super.onCreate(savedInstanceState);
    if (!hasWindowFocus()) {
        setContentView(R.layout.log_viewer); 
        }

    TextView myHelpTV = (TextView) findViewById(R.id.textLog);
    myHelpTV.setMovementMethod(LinkMovementMethod.getInstance());

    myHelpTV.scrollTo(0,0);

            // set button listeners

            // that part (see below) works fine in onClick, but not in
            //onCreate, onStart or onResume:
            //read some text to textview...
            //scroll down scrollview wrapper
    ScrollView myHelpSV = (ScrollView) findViewById(R.id.logScrollView1);
    myHelpSV.fullScroll(View.FOCUS_DOWN);

}
</code></pre>

<p>what might it be? thanks for your advice in advance!</p>
