gadolf
gadolf

Reputation: 1065

How to Zoom in/out imageView

I used this code.

I have a problem. I need zoom image and I changed in code:

enter image description here

original image is:

enter image description here

but on portrait is:

![enter image description here

and on landscape it is:

![enter image description here

It's not full screen. Why?

Upvotes: 0

Views: 1420

Answers (2)

Natarajan Raman
Natarajan Raman

Reputation: 606

Please try PhotoViewAttacher. Works wonderfully well. You need not change the ImageView, you just need to attach your imageView as explained. I use this in one of my applications and it works very well.

https://github.com/chrisbanes/PhotoView

Upvotes: 0

RushDroid
RushDroid

Reputation: 1600

Use this custome imageview for pinchzoom in out

https://github.com/MikeOrtiz/TouchImageView/blob/master/src/com/ortiz/touch/TouchImageView.java

it work for me.hope it will help you.

Upvotes: 1

Related Questions