Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
hadithmv committed Jan 8, 2025
1 parent 9d94669 commit 3a991c2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions androidApp-kt/addedFolder/text.txt
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,3 @@ https://medium.com/androiddevelopers/insets-handling-tips-for-android-15s-edge-t

my app is edge to edge display. it already has edge to edge enabled by default and doesn't need enabling it again. how do i handle overlaps using insets for the top? the app is overlapping with the statusbar


These changes will:
Enable edge-to-edge display by setting DecorFitsSystemWindows to false
Set up an insets listener that will apply the correct padding to the WebView to prevent content from being hidden behind the status bar
Automatically adjust the WebView's padding when the system bars' insets change
The WebView will now properly respect the status bar while maintaining an edge-to-edge display.

0 comments on commit 3a991c2

Please sign in to comment.