From 10e197af957b6c54047bf7872c297dc69024cf78 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 8 Nov 2016 19:09:26 +0100 Subject: [PATCH] zoom in a bit less on double tap --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/simplemobiletools/gallery/fragments/PhotoFragment.java b/app/src/main/java/com/simplemobiletools/gallery/fragments/PhotoFragment.java index 45124346a..3a24325b5 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/fragments/PhotoFragment.java +++ b/app/src/main/java/com/simplemobiletools/gallery/fragments/PhotoFragment.java @@ -39,6 +39,7 @@ public class PhotoFragment extends ViewPagerFragment implements View.OnClickList Glide.with(getContext()).load(mMedium.getPath()).asGif().diskCacheStrategy(DiskCacheStrategy.NONE).into(imageView); imageView.setOnClickListener(this); } else { + mSubsamplingView.setDoubleTapZoomScale(1.2f); mSubsamplingView.setOrientation(SubsamplingScaleImageView.ORIENTATION_USE_EXIF); mSubsamplingView.setImage(ImageSource.uri(mMedium.getPath())); mSubsamplingView.setMaxScale(4f);