-
-
Notifications
You must be signed in to change notification settings - Fork 266
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
Optimizing for Waterfall Displays? #1
Comments
TIL that this device exists. It looks pretty similar to the Galaxy S9 I mostly debug the app on. But, things getting beneath the status bar is something I'd like to avoid. Do they do something special with the window insets (it feels like they do)? Do they have any developer docs about that? |
That's about the edges, but doesn't explain why |
Okay. Does it also fix itself if you rotate the screen? And it's Android 11 and stock ROM, right? It might well be that my handling of window insets isn't 100% correct, so for now I'll wait to see if this issue happens on any other devices. In particular, I only have one device with a screen cutout (Pixel 4a), so my testing in this area is somewhat limited. |
I'm leaning towards this being something Motorola did that can't be reproduced on AOSP/Pixel, but as I said, I'd like to collect more reports to see how many, and which, devices are affected, if any.
It does look like an OEM addition. There's no such thing on the emulator. |
Sure, but do you also have (black)/#282c37/unused bars at the right and left of the screen on your S9 and are these intended? |
Nope. But then it runs Android 9, and waterfall insets were only added in 10. |
Anyway, I was bored and I wanted something similar for quite some time, so I made a simple app that visualizes the window insets in an easy to understand form. Could you please install it and take screenshots in both modes? app-debug.apk.zip (remove .zip after downloading because github is picky about file types) |
Thanks! Setting |
Hm. Yes it does look like I expect it to (the top system inset is there), the toolbar getting behind the status bar must be a bug in the way I handle insets then. Also strange how no DisplayCutout is returned at all when you don't set that layout mode 🤔 |
I just opened the app for the first time(in fullscreen) on my Moto Edge Plus and noticed it's not optimized for Waterfall Displays. I can use it normally after disabling the edge screen but it would of course be better if optimized.
See the attached screenshots
The text was updated successfully, but these errors were encountered: