Android: ScrollView force to bottom

Noah Seidman picture Noah Seidman · Jun 20, 2010 · Viewed 151.4k times · Source

I would like a ScrollView to start all the way at the bottom. Any methods?

Answer

hungson175 picture hungson175 · Dec 24, 2010

you should run the code inside the scroll.post like this:

scroll.post(new Runnable() {            
    @Override
    public void run() {
           scroll.fullScroll(View.FOCUS_DOWN);              
    }
});