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

Enhancement: Check notch position to move control elements to usable display area #10

Open
manuelkue opened this issue Jul 2, 2024 · 1 comment

Comments

@manuelkue
Copy link

My device has a camera in the top right corner that partly hides the number-button.

Maybe the app could check the cutout position to move the buttons accordingly.

In the following article I've read it's possible via the method getDisplayCutout():

https://betterprogramming.pub/making-notch-friendly-apps-for-android-75776272be5c

@UrAvgCode
Copy link
Owner

Thank you for bringing this to my attention, my devices only have cutouts in the top center of the screen. I'll definitely look into this issue and test it with some virtual devices.

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

No branches or pull requests

2 participants