Skip to content

Commit 5d214b4

Browse files
committed
Proper edge-to-edge temporary fix
Fixes additional problem that android:fitsSystemWindows created (eg. Snackbar height streched)
1 parent 2a50353 commit 5d214b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/main/res/values/styles.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
<item name="preferenceTheme">@style/AppPreferenceThemeOverlay</item>
1717
<!-- fixes some UI issues on MIUI devices -->
1818
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
19-
<!-- fixes visual bug on Android 15 -->
20-
<item name="android:fitsSystemWindows" tools:targetApi="v">true</item>
19+
<!-- Temporary workaround for visual bug on Android 15 until edge-to-edge is implemented -->
20+
<!--item name="android:fitsSystemWindows" tools:targetApi="35">true</item-->
21+
<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>
2122
</style>
2223
<style name="AppTheme.NoActionBar" parent="AppTheme">
2324
<item name="windowActionBar">false</item>

0 commit comments

Comments
 (0)