Martin Withaar

Results 9 comments of Martin Withaar

The pinch-to-zoom functionality only works with the image that is displayed by the image view and **not** its background. Does this answer your question? If not, could you be more...

Maybe this solves your problem: https://stackoverflow.com/questions/47001656/unable-to-resolve-dependency-android-studio-3-0

I have pushed functionality for this to the `develop` branch. Add this line when you set a click listener to the image view: `imageMatrixTouchHandler.setConsumeTouchEvent(false);` All touch events should be available...

See if the answer in #6 works for you and please post back.

You could try setting an identity matrix to the ImageView like so: ``` imageView.setImageMatrix(new Matrix()); imageView.invalidate(); ``` This would reset all transforms on the image such as scaling and translations....

You can now do this using the `develop` branch and instantiating the touch handler like this: `ImageMatrixTouchHandler imageMatrixTouchHandler = new ImageMatrixTouchHandler(context, new ImageMatrixCorrector());` The zoom and translation constraints are then...

Thanks for your great work! I'm going to incorporate one of these logos in the next build of the demo app and will also update the Google Play Store listing...

You can solve this problem by using the following class instead of Android's regular `ViewPager`: https://github.com/martinwithaar/PinchToZoom/blob/master/pinchtozoom/src/main/java/com/bogdwellers/pinchtozoom/view/ImageViewPager.java If you don't use the v4 library version of `ViewPager` you'll have to extend...

Thanks for pointing these out. I will look into it this weekend!