Skip to content

Commit

Permalink
Opt out of windowOptOutEdgeToEdgeEnforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Jan 9, 2025
1 parent cbbc547 commit 9796abf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">

<style name="Theme.Material3.DynamicColors.Dark.NoActionBar" parent="Theme.Material3.DynamicColors.Dark">
<item name="windowActionBar">false</item>
Expand Down Expand Up @@ -44,6 +44,8 @@
<item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item>

<item name="dynamicColorThemeOverlay">@style/Theme.Material3.DynamicColors.Dark.NoActionBar</item>

<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:ignore="NewApi">true</item>
</style>

<style name="AppThemeFloating" parent="BaseAppTheme">
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">

<style name="Theme.Material3.DynamicColors.Light.NoActionBar" parent="Theme.Material3.DynamicColors.Light">
<item name="windowActionBar">false</item>
Expand Down Expand Up @@ -44,6 +44,8 @@
<item name="colorPrimaryInverse">@color/md_theme_light_inversePrimary</item>

<item name="dynamicColorThemeOverlay">@style/Theme.Material3.DynamicColors.Light.NoActionBar</item>

<item name="android:windowOptOutEdgeToEdgeEnforcement" tools:ignore="NewApi">true</item>
</style>

<style name="AppTheme" parent="BaseAppTheme">
Expand Down

0 comments on commit 9796abf

Please sign in to comment.