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
resizeDimen() and fit() do not incorporate screen density. They seem to be taking the measurements in dp and assuming 1dp = 1px. See examples below.
resizeDimen()
fit()
1x ImageView size
4x ImageView size
The text was updated successfully, but these errors were encountered:
resizeDimen()
andfit()
do not incorporate screen density.They seem to be taking the measurements in dp and assuming 1dp = 1px.
See examples below.
1x ImageView size
![image](https://cdn.statically.io/img/user-images.githubusercontent.com/6501079/113189801-37a3f480-9221-11eb-8316-68bf4d7c3321.png)
4x ImageView size
![image](https://cdn.statically.io/img/user-images.githubusercontent.com/6501079/113189750-26f37e80-9221-11eb-98e8-8ab023b15243.png)
The text was updated successfully, but these errors were encountered: