GitHub - rodriamaro/AndroidImageViewZoom: Android image pinch (continual in/out) / double tap zoom, scroll larger images, extendable with custom ontouch handler, should work on 1.5(without pinch zoom) because of reflection used

class ImageViewZoom
public methods:
 setImage(Bitmap) - Bitmap which you want to show in view(layout)
 setImage(Bitmap bitmap, int widthOfParent) - you can set maximum width(in pixels) of parent  if you want. But in most cases above will be enough.
 
Extend class and override method
protected void onImageClick(float posX, float posY)
to add custom ontouchhandler

Look at example for more.
 
 

About

Android image pinch (continual in/out) / double tap zoom, scroll larger images, extendable with custom ontouch handler, should work on 1.5(without pinch zoom) because of reflection used

Resources

Readme

License

MIT license

Activity

Stars

2 stars

Watchers

1 watching

Forks

1 fork