mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-22 13:34:49 +01:00
set the max allowed zoom to 5x
This commit is contained in:
parent
42ba6b0e1d
commit
46a8f67c02
@ -23,6 +23,7 @@ public class ViewPagerFragment extends Fragment {
|
||||
if (path != null) {
|
||||
final SubsamplingScaleImageView imageView = (SubsamplingScaleImageView) view.findViewById(R.id.photo);
|
||||
imageView.setImage(ImageSource.uri(path));
|
||||
imageView.setMaxScale(5f);
|
||||
}
|
||||
|
||||
return view;
|
||||
|
Loading…
Reference in New Issue
Block a user