zoom in more on double click

This commit is contained in:
tibbi 2017-04-02 09:23:09 +02:00
parent 91b888d021
commit 6ca3c30b9c

View file

@ -189,7 +189,7 @@ class PhotoFragment : ViewPagerFragment() {
if ((medium.isImage()) && isMenuVisible && view.subsampling_view.visibility == View.GONE) {
view.subsampling_view.apply {
beVisible()
setDoubleTapZoomScale(1.4f)
setDoubleTapZoomScale(2f)
setImage(ImageSource.uri(medium.path))
orientation = SubsamplingScaleImageView.ORIENTATION_USE_EXIF
setOnImageEventListener(object : SubsamplingScaleImageView.OnImageEventListener {