-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
The setUpEdgeToEdge function isn't working for me. The top edge of the screen is still not matching the background color. Android Studio is telling me that window.statusBarColor and window.navigationBarColor are deprecated (it puts a strikethrough through them), but it's not clear to me what to replace them with.
If I hover over the strikethroughed lines with my mouse, the popup for statusBarColor says,
"Draw proper background behind WindowInsets. Type. statusBars()} instead."
And the popup for navigationBarColor says "Draw proper background behind WindowInsets. Type. navigationBars() or WindowInsets. Type. tappableElement() instead."
But I don't know how to do that. I think the tutorial should be updated to explain how to do this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels