android – Zoom в ImageView

Question:

It is necessary to implement image zooming in ImageView , which is located in the gallery. It is necessary to implement zooming so that after the end of zooming (the picture is in its original size) you can scroll to the next picture in the gallery. The solutions found do not satisfy this, and I myself can not yet figure out how to implement this, because we intercept all onTouch in onTouch when zooming. Who faced a similar task – tell me.

Answer:

If onTouch is not enough, you need to go to Gestures . That is, you need to define a certain Gesture (gesture) by which you can determine the zoom or paging.

Scroll to Top
AllEscort