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 d1f4e5e commit bf53687
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions androidApp-kt/addedFolder/text.txt
Original file line number Diff line number Diff line change
Expand Up @@ -683,4 +683,19 @@ android {

the release version should not have the word -release

...

https://www.reddit.com/r/androiddev/comments/1c1rs1t/apps_targeting_android_15_will_be_forced_into/

https://developer.android.com/develop/ui/views/layout/edge-to-edge

https://medium.com/androiddevelopers/insets-handling-tips-for-android-15s-edge-to-edge-enforcement-872774e8839b

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?


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 bf53687

Please sign in to comment.