rotate the fullscreen image appropriately
This commit is contained in:
parent
6a637797e1
commit
70afd83bd7
|
@ -137,6 +137,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
Picasso.with(activity)
|
||||
.load("file:${medium.path}")
|
||||
.resize(metrics.widthPixels * 2, metrics.heightPixels * 2)
|
||||
.rotate(degrees)
|
||||
.centerInside()
|
||||
.into(view.photo_view)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue