zoom in more on double click
This commit is contained in:
parent
91b888d021
commit
6ca3c30b9c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue