hsv.fullScroll(HorizontalScrollView.FOCUS_RIGHT);
Takes my HorizontalScrollView
99% to the right but not 100%, I need to scroll the view all the way to the right. Any idea what goes wrong?
hsv.fullScroll(HorizontalScrollView.FOCUS_RIGHT);
Takes my HorizontalScrollView
99% to the right but not 100%, I need to scroll the view all the way to the right. Any idea what goes wrong?
Copyright © 2021 Jogjafile Inc.
This can be solved by using a
ViewTreeObserver
applied on theHorizontalScrollView
An example can be found here:
Android - HorizontalScrollView will not scroll all the way