-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Support drawing around notches on Android displays. Fixes #12261 #12779
Conversation
How about iPhone X, XS, XR and 11? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, the menu looks better with the background behind it, at least.
-[Unknown]
This makes it easier to implement any similar change for iOS devices, but doesn't actually get the notch information from iOS. Contributions welcome. -[Unknown] |
Reverse landscape mode doesn't seem to be right |
@Panderner can you take a picture? |
Ah, I see, I could repro. When going directly from landscape to reverse landscape, it doesn't update the margins properly. I guess we might be doing the checks in the wrong place, I'll get this fixed. |
Pushed a fix, should be ok now. |
And how about Touchscreen test and GPU Driver Test at the developer tools menu? The letters blocked by the notch. |
Oh, right, thanks for reminding me about those. They indeed don't properly take the notch into account, I'll fix them up later. |
Fixed. |
Finally finished this up, but I'm struggling to see the point - all phones with notches are so wide anyway that you don't get any additional PSP display area, and do you really want to put controls out there in the limit? You'll just smudge up the camera. Anyway, it's not really any worse so...
Here's what it looks like on a Pocophone F1: