Status Update
Comments
da...@google.com <da...@google.com> #2
Running into a similar issue, any update on this?
ap...@google.com <ap...@google.com> #3
This is a platform behavior change.
da...@google.com <da...@google.com> #4
ap...@google.com <ap...@google.com> #5
da...@google.com <da...@google.com> #9
da...@google.com <da...@google.com> #10
This issue is also stopping us from being able to support edge-to-edge in Android 15. Given it's a enforced requirement for targeting Android 15, couldn't this be prioritised higher? Companies like us have hundreds of screens to fix so waiting until 2025 for a workaround is going to be tough work.
pr...@google.com <pr...@google.com> #11
Maybe you can create a static method, com.your.company.ViewGroupCompat#installCompatInsetsDispatch
, like this:
After creating the method, you need to call ViewGroupCompat.installCompatInsetsDispatch(getWindow().getDecorView())
in onCreate()
of your activity to make the behavior compatible with API 30+.
When the new library with the API is released, you can replace com.your.company.ViewGroupCompat
with androidx.core.view.ViewGroupCompat
.
da...@google.com <da...@google.com>
ap...@google.com <ap...@google.com> #12
Wow quick response, thanks! I just tried applying that workaround to our root view and can confirm it fixes the issue. (Also FYI there's a typo in the PR; "comsumed")
Description