Created
February 24, 2017 12:44
-
-
Save ifucolo/c36107361bb732293ea443449431c449 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private PhotoViewAttacher mAttacher; | |
{ | |
.... | |
mAttacher = new PhotoViewAttacher(photo); | |
mAttacher.setMinimumScale(0.5f); | |
mAttacher.setMaximumScale(mAttacher.getMaximumScale()); | |
mAttacher.setScaleType(ImageView.ScaleType.FIT_CENTER); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment