mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 04:28:00 +01:00
allow zooming up to 20x
This commit is contained in:
parent
e8da1424ad
commit
eed77d4738
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue