From ebc6c2ef3d8c82558d85620fa3a6ca88670f7b48 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 3 Apr 2017 18:40:08 +0200 Subject: [PATCH] allow zooming in a lot more at fullscreen photos --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt index a8fb70827..348da5858 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -188,6 +188,7 @@ class PhotoFragment : ViewPagerFragment() { private fun addZoomableView() { if ((medium.isImage()) && isMenuVisible && view.subsampling_view.visibility == View.GONE) { view.subsampling_view.apply { + maxScale = 10f beVisible() setDoubleTapZoomScale(2f) setImage(ImageSource.uri(medium.path))