From eed77d473848af1f728cbc4c5c4bd2eaad3753fd Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 21 Feb 2016 18:22:14 +0100 Subject: [PATCH] allow zooming up to 20x --- .../gallery/simplemobiletools/com/adapters/MyPagerAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/gallery/simplemobiletools/com/adapters/MyPagerAdapter.java b/app/src/main/java/gallery/simplemobiletools/com/adapters/MyPagerAdapter.java index 491d72dbd..66d0c71fa 100644 --- a/app/src/main/java/gallery/simplemobiletools/com/adapters/MyPagerAdapter.java +++ b/app/src/main/java/gallery/simplemobiletools/com/adapters/MyPagerAdapter.java @@ -35,6 +35,7 @@ public class MyPagerAdapter extends PagerAdapter { final PhotoView photoView = new PhotoView(context); Glide.with(context).load(paths.get(position)).fitCenter().crossFade().into(photoView); container.addView(photoView); + photoView.setMaximumScale(20f); return photoView; }