Awesome Open Source
Awesome Open Source

Maven Central Android Arsenal


Android's ImageView pinch-to-zoom made easy

Sample app

Get it on Google Play

Get it

Add this line to your build.gradle's dependencies:

compile 'com.bogdwellers:pinchtozoom:0.1'


PinchToZoom for Android is a simple yet feature complete library for adding pinch-to-zoom functionality to an ImageView. It has sleek easing animations that make it stand out in quality and ease of use.


  • Pinch-to-zoom
  • Double-tap to quickly zoom-in and out
  • Drag while zoomed in
  • Animated drag & zoom release easing
  • Does not extend the ImageView class so is usable with custom ImageView implementations
  • Fully customizable


Adding pinch-to-zoom functionality to your ImageView is easy as this:

ImageView imageView = (ImageView) view.findViewById(;
imageView.setOnTouchListener(new ImageMatrixTouchHandler(view.getContext()));


The ImageMatrixTouchHandler class has multiple getter/setter methods that allow for changing the behavior and animation settings.


Consult the Javadoc at

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
java (31,734
android (6,459
android-library (813
android-app (246
imageview (45
pinch-to-zoom (20