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

App bar being drawn behind status bar on Pixel 8/9 #304

Open
davecraig opened this issue Dec 16, 2024 · 0 comments
Open

App bar being drawn behind status bar on Pixel 8/9 #304

davecraig opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed user-interface

Comments

@davecraig
Copy link
Contributor

I saw this on my Pixel 8, and it also happens on Pixel 9 emulator - it looks like this:
image

Apparently this came in with the Android 15 where edge-to-edge mode was enabled by default (see https://developer.android.com/develop/ui/views/layout/edge-to-edge).

A solution is to set the WindowInsetsPadding to be safeDrawing - I've written a draft PR for this #303. Feedback required on whether this is the standard way of passing modifiers into Screens, it seems like there should be a better way!

@davecraig davecraig added bug Something isn't working help wanted Extra attention is needed user-interface labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed user-interface
Projects
None yet
Development

No branches or pull requests

1 participant