allow zooming in more at fullscreen view
This commit is contained in:
parent
f5bb4f6523
commit
315d2197b8
|
@ -81,6 +81,10 @@ class PhotoFragment : ViewPagerFragment() {
|
||||||
photoClicked()
|
photoClicked()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
PhotoViewAttacher(view.photo_view).apply {
|
||||||
|
maximumScale = 8f
|
||||||
|
mediumScale = 3f
|
||||||
|
}
|
||||||
loadImage()
|
loadImage()
|
||||||
|
|
||||||
activity.window.decorView.setOnSystemUiVisibilityChangeListener { visibility ->
|
activity.window.decorView.setOnSystemUiVisibilityChangeListener { visibility ->
|
||||||
|
|
Loading…
Reference in New Issue