Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 6
    That doesn't seem to do anything, any suggestions? I tried it on onCreate and later in the onClick of a button. Commented Aug 2, 2010 at 18:50
  • It doesn't seems to work on changing orientation. Otherwise its working. Commented Mar 19, 2015 at 7:30
  • 1
    This doesn't work if the layout size has changed right before calling it. It needs to be posted instead. Commented Apr 9, 2015 at 15:32
  • 5
    This and below, won't work until you give some time to the view to inflate fully, just simplifying ademar answer. scrollView.postDelayed(new Runnable() { @Override public void run() { scrollView.fullScroll(View.FOCUS_UP // Or Down); } }, 1000); Commented Dec 31, 2015 at 0:44
  • 1
    scroll.fullScroll(View.FOCUS_DOWN) will lead to the change of focus. That will bring some strange behavior when there are more than one focusable views, e.g two EditText. Check another solution I provide at the bottom. Commented Jan 19, 2016 at 0:38