/ZoomableImageView

ZoomableImageView: A pinch-to-zoom capable ImageView

Primary LanguageJavaApache License 2.0Apache-2.0

ZoomableImageView

ZoomableImageView is a view designed to add pinch-to-zoom support for images in Android with minimal effort.

Usage

Include ZoomableImageView.java and OnImageTouchedListener in your project, add the view either programatically or via XML to your activity and call:

zoomableImageView.setImageBitmap( bitmap );

Demo

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.

License

The code in this project is licensed under the Apache Software License 2.0, per the terms of the included LICENSE file.