From 315d2197b8de0843e4f5dbdb3a466bccec254a6b Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 22 Mar 2017 21:08:41 +0100 Subject: [PATCH] allow zooming in more at fullscreen view --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.kt | 4 ++++ 1 file changed, 4 insertions(+) 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 2ece5dbf4..1ab3ac7d8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -81,6 +81,10 @@ class PhotoFragment : ViewPagerFragment() { photoClicked() } }) + PhotoViewAttacher(view.photo_view).apply { + maximumScale = 8f + mediumScale = 3f + } loadImage() activity.window.decorView.setOnSystemUiVisibilityChangeListener { visibility ->