allow zooming in more at fullscreen view

This commit is contained in:
tibbi 2017-03-22 21:08:41 +01:00
parent f5bb4f6523
commit 315d2197b8

View File

@ -81,6 +81,10 @@ class PhotoFragment : ViewPagerFragment() {
photoClicked()
}
})
PhotoViewAttacher(view.photo_view).apply {
maximumScale = 8f
mediumScale = 3f
}
loadImage()
activity.window.decorView.setOnSystemUiVisibilityChangeListener { visibility ->