Frage

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?

War es hilfreich?

Lösung

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

or

sv.scrollTo(5, 10);
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top