3

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 ?

Daksh Rawal
  • 238
  • 2
  • 13

2 Answers2

3

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

Kashyap Rathod
  • 275
  • 1
  • 9
  • 1
    https://natario1.github.io/ZoomLayout/docs/zoom-image <- This Actually Helped Me , But Thanks Only Because Of You I Could Reach This Site ! – Daksh Rawal Jan 23 '22 at 07:24
2

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

JB08
  • 41
  • 3