How can I zoom ImageView like Instagram. I mean changing the size of imageview, not zooming the image inside the Imageview.
For zooming the image inside the Imageview, there are a lot of samples but I want something like Instagram image zooming
Any code or hint? Thanks.
I would recommend these two libraries:
For PhotoView, you just have to create an attacher
and "attach" it to your ImageView
.
// After getting your imageImage view, attach it like the following
PhotoViewAttacher yourAttacher = new PhotoViewAttacher(yourImageView);
With just this code, you'll be able to zoom in/out/whatever on yourImageView
. Check the links above for more details.
Instagram has changed a lot since this answer was posted, and the libraries I recommended above might not provide the experience you are looking for.