Daksh Rawal
Daksh Rawal

Reputation: 570

Zoom An Image ( Android Studio )

Ok So I Have An Image Which Can Zoomed In And Out , But After Zooming It In ( By Pinching ) The Image Automatically Goes Back The Its Original Dimensions , What I Want Is That The Image Should Stay Zoomed In After I Zoom In And Take My Hand Off The Screen

For Example :- When You Zoom In An Image In Gallery The Image Stays Zoomed In Unless You Zoom Out

Zoomy.Builder builder=new Zoomy.Builder(getActivity)).target(big).animateZooming(false).enableImmersiveMode(false); builder.register();

Do I Have To Use Some Other Library Or Some Other Method ?

Upvotes: 3

Views: 6080

Answers (2)

JB08
JB08

Reputation: 41

You can try PhotoView library as suggested in the 1st answer of this question.

Upvotes: 2

Kashyap Rathod
Kashyap Rathod

Reputation: 325

You can use this library. This is the perfect library according to your requirement. You can also apply zoom in/out for video.

https://github.com/natario1/ZoomLayout

Upvotes: 3

Related Questions