This project is now deprecated
Please use the much better PhotoView library by Chris Banes
ZoomableImageView is a view designed to add pinch-to-zoom support for images in Android with minimal effort.
Include ZoomableImageView.java and OnImageTouchedListener in your project, add the view either programatically or via XML to your activity and call:
zoomableImageView.setImageBitmap( bitmap );
A working demo of the class in use can be seen in the app Reddit Sync. Clicking on a thumbnail will open up a fullscreen ZoomableImageView.
The code in this project is licensed under the Apache Software License 2.0, per the terms of the included LICENSE file.