Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

MinZoom not working #79

Open
gintechsystems opened this issue Sep 3, 2015 · 1 comment
Open

MinZoom not working #79

gintechsystems opened this issue Sep 3, 2015 · 1 comment

Comments

@gintechsystems
Copy link

Hello,

I am trying to set the min zoom but it seems to be scaling the image down still. The image is set to fit the screen using the display matrix. I don't want it to be smaller than that.

What am I doing wrong?

expandedImageView.setImageBitmap(convertToBitmap(imageDrawable, imageDrawable.getIntrinsicWidth(), imageDrawable.getIntrinsicHeight()), expandedImageView.getDisplayMatrix(), 1f, 3f);

@TomkaRUSS
Copy link

Hello,

I resolved this problem. I just writed 0.99f instead 1f.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants