mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
zoom in more on double click
This commit is contained in:
parent
91b888d021
commit
6ca3c30b9c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue