mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
allow zooming up to 20x
This commit is contained in:
@ -35,6 +35,7 @@ public class MyPagerAdapter extends PagerAdapter {
|
|||||||
final PhotoView photoView = new PhotoView(context);
|
final PhotoView photoView = new PhotoView(context);
|
||||||
Glide.with(context).load(paths.get(position)).fitCenter().crossFade().into(photoView);
|
Glide.with(context).load(paths.get(position)).fitCenter().crossFade().into(photoView);
|
||||||
container.addView(photoView);
|
container.addView(photoView);
|
||||||
|
photoView.setMaximumScale(20f);
|
||||||
return photoView;
|
return photoView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user