Question

I am currently making a comic app n for the pictures, i am usin a scrollview. Since there are many pictures, i want to create a Box where the picture's name is typed and it takes you to the picture in the contained activity.. How can i do so?

Was it helpful?

Solution

ScrollView sv = (ScrollView)findViewById(R.id.scrl);
sv.scrollTo(0, sv.getBottom());

or

sv.scrollTo(5, 10);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top