Reputation: 1549
I am using scrollView without any listView or gridview .I have just added same views to it but know I want to programmatically scroll to a particular position. Is this possible ?
Please help I am using Horizontal Scroll?
Upvotes: 4
Views: 6959
Reputation: 15847
you can use this method
horizontalScrollView.scrollBy(160, 0);
or
horizontalScrollView.scrollTo(160, 0);
Upvotes: 7