Skip to content

Commit 80a6758

Browse files
mcararemergify[bot]
authored andcommitted
Opt out of edge to edge enforcment in Android 15.
1 parent 0f1fc05 commit 80a6758

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- License, v. 2.0. If a copy of the MPL was not distributed with this
33
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
44

5-
<resources>
5+
<resources xmlns:tools="http://schemas.android.com/tools">
66
<style name="AppThemeNotActionBar" parent="Theme.AppCompat.NoActionBar">
77
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
88

@@ -12,6 +12,7 @@
1212

1313
<item name="android:navigationBarColor">@color/evenDarker</item>
1414
<item name="android:windowBackground">@color/dark</item>
15+
<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>
1516
</style>
1617

1718
<style name="AppTheme" parent="Theme.AppCompat">
@@ -27,5 +28,6 @@
2728

2829
<style name="AddonsActivityTheme" parent="Theme.AppCompat.Light">
2930
<item name="mozac_primary_text_color">@color/photonDarkGrey90</item>
31+
<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>
3032
</style>
3133
</resources>

0 commit comments

Comments
 (0)