Move the screen to a specific position

When I get the result from activity in OnActivityResult(), I need to be ScrollViewin a certain position. How can I move the view so that it is located where I need it?

+5
source share
1 answer

If you know the scroll view you need to focus requestChildFocus or requestChildRectangleOnScreen () . If you know the exact x, y coordinates you need to scroll through, use the scrollTo () method .

+1
source

All Articles