facebook / facebook/fresco

why does image display aliasing of one app on different devices?

Open
#2,237 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
17.2k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

### Description
an image of 484x504 pixel be layout by 364x379 pixel of SimpleDraweeView by dynamic calculated on different device and it layout by simpleDraweeView.getLayoutParams().width and simpleDraweeView.getLayoutParams().height.
when it display on Xiaomi Note(android 6.0.1) and Xiaomi Mix 2s(android 9.0) has different effect, they has same screen width(1080 pixel),here is the screen-shot:
Xiaomi Mix 2s:https://user-images.githubusercontent.com/12092478/48106854-39e40d80-e278-11e8-9375-19f0c3436140.png
Xiaomi Note:https://user-images.githubusercontent.com/12092478/48106901-6a2bac00-e278-11e8-89eb-90cc047c02e7.png

compare:
![image](https://user-images.githubusercontent.com/12092478/48107069-035ac280-e279-11e8-84c3-e44eb2f7a129.png)

can it show clear?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.