Open gintechsystems opened 9 years ago
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);
I resolved this problem. I just writed 0.99f instead 1f.
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);