mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-13 10:23:07 +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);
|
Glide.with(getContext()).load(mMedium.getPath()).asGif().diskCacheStrategy(DiskCacheStrategy.NONE).into(imageView);
|
||||||
imageView.setOnClickListener(this);
|
imageView.setOnClickListener(this);
|
||||||
} else {
|
} else {
|
||||||
|
mSubsamplingView.setDoubleTapZoomScale(1.2f);
|
||||||
mSubsamplingView.setOrientation(SubsamplingScaleImageView.ORIENTATION_USE_EXIF);
|
mSubsamplingView.setOrientation(SubsamplingScaleImageView.ORIENTATION_USE_EXIF);
|
||||||
mSubsamplingView.setImage(ImageSource.uri(mMedium.getPath()));
|
mSubsamplingView.setImage(ImageSource.uri(mMedium.getPath()));
|
||||||
mSubsamplingView.setMaxScale(4f);
|
mSubsamplingView.setMaxScale(4f);
|
||||||
|
Loading…
Reference in New Issue
Block a user