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 3a991c2 commit d063d88
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 7 additions & 3 deletions androidApp-kt/addedFolder/text.txt
Original file line number Diff line number Diff line change
Expand Up @@ -686,10 +686,14 @@ 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? the app is overlapping with the statusbar
this is my offline webview kotlin app. since it targets SDK 35 or later, edge-to-edge is automatically enabled for Android 15 devices or later. how do i handle overlaps using insets for the top? the app is overlapping with the statusbar"

... no working solution as of yet, so going to use:

https://stackoverflow.com/questions/79095037/android-15-edge-to-edge-mode-hide-a-top-view/79095115#79095115
https://proandroiddev.com/google-secretly-adds-opt-out-api-for-android-15s-edge-to-edge-behaviour-80ca2630d298


4 changes: 4 additions & 0 deletions androidApp-kt/app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

<!-- added this to set statusbar color from grey to black -->
<item name="android:statusBarColor">@android:color/black</item>

<!-- https://stackoverflow.com/questions/79095037/android-15-edge-to-edge-mode-hide-a-top-view/79095115#79095115 -->
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>

</style>

<!-- Splash screen theme -->
Expand Down

0 comments on commit d063d88

Please sign in to comment.