zoom in more on double tap

This commit is contained in:
tibbi 2017-02-27 20:31:17 +01:00
parent 46582a3d01
commit 9fdcea056d

View file

@ -173,7 +173,7 @@ class PhotoFragment : ViewPagerFragment() {
if (!medium.isPng()) { if (!medium.isPng()) {
subsamplingView.apply { subsamplingView.apply {
beVisible() beVisible()
setDoubleTapZoomScale(1.2f) setDoubleTapZoomScale(1.8f)
setImage(ImageSource.cachedBitmap(bitmap)) setImage(ImageSource.cachedBitmap(bitmap))
orientation = SubsamplingScaleImageView.ORIENTATION_USE_EXIF orientation = SubsamplingScaleImageView.ORIENTATION_USE_EXIF
maxScale = 5f maxScale = 5f