mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-03-26 16:30:40 +01:00
make sure the photos are rotated properly
This commit is contained in:
parent
7d86d15f00
commit
2e93991b6e
@ -24,6 +24,7 @@ public class ViewPagerFragment extends Fragment implements View.OnClickListener
|
||||
|
||||
if (path != null) {
|
||||
final SubsamplingScaleImageView imageView = (SubsamplingScaleImageView) view.findViewById(R.id.photo);
|
||||
imageView.setOrientation(SubsamplingScaleImageView.ORIENTATION_USE_EXIF);
|
||||
imageView.setImage(ImageSource.uri(path));
|
||||
imageView.setMaxScale(5f);
|
||||
imageView.setOnClickListener(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user