Domanda

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?

È stato utile?

Soluzione

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

or

sv.scrollTo(5, 10);
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top