Pages

Search This Blog

Support my cause by downloading

Saturday, 6 April 2013

Update Pinch to zoom example and tutorial for android ImageView with zoom limit

I wrote on the same topic Pinch to zoom in android ImageView while i just started blogging. And that still is my one of the popular article, despite that it has many complication and limitation with it. So i am working to improve it.
After reading most comment, I feel some problems while implementing pinch to zoom with android ImageView using previous post

How to implement that pinch to zoom in their project?

Determining Zoom limit in pinch to zoom ImageView!

Does not work properly as i told in post !!

So now i come up with a solution in which every drawback avoided and pinch to zoom image in android seems quite simple and work perfect
Follows thes easy steps

1) Create a new project and Download this library , add this Jar to libs folder of your project

2) Create one layout with one ImageView (Which need to be zoom)

3) Create one Activity and change to following code. This will handle all attributes required for pinch to zoom ImageView