Skip to content

rodriamaro/AndroidImageViewZoom

 
 

Repository files navigation

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors