Android button - Press scroll up
I want to place a button at the bottom of my view (below the ExpandableListView) and when the button is clicked it should scroll to the top of the view. Is it possible?
+3
Peter
source
to share
1 answer
Try to put the following line in onClick for this bottom button
yourScrollView.fullScroll(ScrollView.FOCUS_UP);
+4
mistwalker
source
to share