mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-25 14:08:00 +01:00
set the max allowed zoom to 5x
This commit is contained in:
parent
42ba6b0e1d
commit
46a8f67c02
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue