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…
Reference in New Issue