Replies: 1 comment 5 replies
-
Where exactly do you put that code? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to fine tune my app for full screen, and found that if you do not call the default behavior in
onApplyWindowInsetsListener
, WebView actually provides the correctenv(safe-area-inset-top)
.However, I am not familiar with Android layout. I tried for some time but failed to make it work for navigation bar.
If you just need
env(safe-area-inset-top)
, simply do:It might have something to do with navigation bar insets not being "stable" insets.
Beta Was this translation helpful? Give feedback.
All reactions