-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fixes: Picture zoomed too much (#3312) #3315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ing of image When a picture is clicked, the picture is zoomed to the point that parts of the picture are not visible. Change SimpleDraweeView property of actualImageScaleType from centerCrop to fitCenter
Codecov Report
@@ Coverage Diff @@
## master #3315 +/- ##
======================================
Coverage 7.5% 7.5%
======================================
Files 255 255
Lines 11206 11206
Branches 895 895
======================================
Hits 841 841
Misses 10303 10303
Partials 62 62 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not tested, but looks good to me.
@@ -5,7 +5,7 @@ | |||
android:orientation="vertical" | |||
android:layout_width="match_parent" | |||
android:layout_height="match_parent" | |||
android:background="?attr/mainBackground" | |||
android:background="@color/black" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have we changed this, is this done, supporting the themes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also don't understand why this change is made.
Fixed in #3422 |
Description (required)
Fixes #{3312} {images zoomed to much}
fragment_media_details.xml: changed property of SimpleDraweeView actualImageScaleType from centerCrop to fitCenter and changed background to black
Screenshots showing what changed (optional - for UI changes)


