zoom in more on double click

This commit is contained in:
tibbi 2017-04-02 09:23:09 +02:00
parent 91b888d021
commit 6ca3c30b9c
1 changed files with 1 additions and 1 deletions

View File

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