all I want to do is to scroll to a specific position.
I found this method which scrolls the scrollview (horizontal) to the fullest right:
scrollView.fullScroll(ScrollView.FOCUS_RIGHT);
I want to be able to scroll to the fullest right minus 10px, how can achieve this? Anyway to manipulate scrollview to scroll to specific position?
Really need this, thanks in advance!
You can use ScrollView.scrollTo(Xpos,Ypos) to scroll to a specific location or ScrollView.scrollBy(xPos, Ypos) to scroll by a specific distance
To scroll to the end of the view – 10px you can write
working:
not working: