mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-25 14:08:00 +01:00
make sure the photos are rotated properly
This commit is contained in:
parent
7d86d15f00
commit
2e93991b6e
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue