Reputation: 127
I want to place a button at the bottom of my view (under the ExpandableListView) and the when the button is clicked, it should scroll to the top of the view. Is this possible?
Upvotes: 5
Views: 12131
Reputation: 781
Try putting the following line in the onClick for that bottom button
yourScrollView.fullScroll(ScrollView.FOCUS_UP);
Upvotes: 11