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

Get notch height into account for reporting screen.height (api 28+) #150

Merged
merged 2 commits into from
Jun 26, 2019

Conversation

pazos
Copy link
Member

@pazos pazos commented Jun 26, 2019

Also set resizeableActivity to false to prevent crashes and take android.max_aspect into account.

This is needed when targetting api24+

Fix #131
Fixes koreader/koreader#4769

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.

Get notch height on API >= 28 [Android 9.x]: Bottom of Screen being cut-off on devices with notch
2 participants