Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pinch zoom feature inside a scroll view

I have a scroll view. I need to apply pinch zoom feature inside this scroll view. Can any suggest a method? Is there any library to include a container view having pinch zoom feature.

like image 440
Dennis MP Avatar asked Dec 18 '13 18:12

Dennis MP


2 Answers

I think you need a custom ImageView with pinch zoom ability. Check out this answer: https://stackoverflow.com/a/7458910/2511775 . It's one of the best answers I've found on SO.

like image 187
Ashkan Sarlak Avatar answered Oct 22 '22 14:10

Ashkan Sarlak


At last I got the solution. Let me share that.

https://code.google.com/p/android-zoom-view/w/list using this library we can create a zoomview and we can add other views to it.

There is no wiki page associated with this project so please check this Wiki about android-zoom-view.jar

like image 36
Dennis MP Avatar answered Oct 22 '22 15:10

Dennis MP