Problems forcing a ScrollView to move to the top
I have a ScrollView that I want to move programatically to the top.
I do the following:
scrollll5.fullS开发者_开发问答croll(View.FOCUS_UP); scrollll5.postInvalidate();
and it works, but only if the ScrollView is NOT at the bottom already...
has anybody found a similar problem (and its solution)?
scrollTo(0,0)
or smoothScrollTo(0,0)
should work.
精彩评论