mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-26 00:05:18 +01:00
zoom in a bit less on double tap
This commit is contained in:
parent
1eb125e36d
commit
10e197af95
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user