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

HiDPI not fully supported on Android #721

Closed
Osspial opened this issue Nov 20, 2018 · 1 comment · Fixed by #1556
Closed

HiDPI not fully supported on Android #721

Osspial opened this issue Nov 20, 2018 · 1 comment · Fixed by #1556
Labels
DS - android S - platform parity Unintended platform differences

Comments

@Osspial
Copy link
Contributor

Osspial commented Nov 20, 2018

On Android, get_hidpi_factor currently always returns 1.0. According to @francesca64 this is blocked on rust-mobile/android-rs-glue#116.

@francesca64 francesca64 added H - help wanted Someone please save us DS - android S - platform parity Unintended platform differences labels Nov 20, 2018
@francesca64
Copy link
Member

This looks like the right way to get the DPI: https://stackoverflow.com/a/3166582/5435443

AFAIK, we don't have access to that or any other Java API. I'd really like to see progress on rust-mobile/android-rs-glue#116 (or alternatives), but I don't really have the time to do something like that in the near future.

@francesca64 francesca64 removed the H - help wanted Someone please save us label Jan 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DS - android S - platform parity Unintended platform differences
Development

Successfully merging a pull request may close this issue.

2 participants