Android library that makes an imageview or imageButton zoomable
- Pan
- Zoom
Double tap too zoom in or zoom out is currently not supported.
Use these methods
Note: Calling these methods may cause unintended effect.
scale(float zoom): Call from your code to zoom.
toCenter(): Call to animate back to original position.
updateFrame(): Always call this method when ever you change the size, scale, or the location of the view.
add app:layout_behavior="yourPackage.ImageZoomBehavior" to the xml of your imageView.