Skip to content
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

Fixes: Picture zoomed too much (#3312) #3315

Closed
wants to merge 3 commits into from

Conversation

chinmoy12c
Copy link

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)
Screenshot_2019-12-30-18-18-56-921_fr free nrw commons
Screenshot_2019-12-31-11-33-39-724_fr free nrw commons beta
Screenshot_2019-12-31-11-35-10-156_fr free nrw commons beta

…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-io
Copy link

codecov-io commented Jan 2, 2020

Codecov Report

Merging #3315 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e56adc6...303ff24. Read the comment docs.

Copy link
Member

@nicolas-raoul nicolas-raoul left a 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.

@nicolas-raoul nicolas-raoul changed the title Issue3312v2 Fixes: Picture zoomed too much (#3312) Jan 2, 2020
@@ -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"
Copy link
Collaborator

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?

Copy link
Collaborator

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.

@macgills
Copy link
Collaborator

Fixed in #3422

@macgills macgills closed this Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants