diff --git a/library/src/main/res/drawable/menu_background.xml b/library/src/main/res/drawable/menu_background.xml
new file mode 100644
index 000000000..57c1e80dd
--- /dev/null
+++ b/library/src/main/res/drawable/menu_background.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
diff --git a/library/src/main/res/layout/activity_fragments.xml b/library/src/main/res/layout/activity_fragments.xml
index 65e248e50..bdc2fad2b 100644
--- a/library/src/main/res/layout/activity_fragments.xml
+++ b/library/src/main/res/layout/activity_fragments.xml
@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_root_view"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:fitsSystemWindows="true">
-
\ No newline at end of file
+
diff --git a/library/src/main/res/layout/activity_fragments_bottom_navigation.xml b/library/src/main/res/layout/activity_fragments_bottom_navigation.xml
index 0c0beaea8..8786da166 100644
--- a/library/src/main/res/layout/activity_fragments_bottom_navigation.xml
+++ b/library/src/main/res/layout/activity_fragments_bottom_navigation.xml
@@ -10,6 +10,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipChildren="false"
+ android:fitsSystemWindows="true"
android:transitionName="appbar"
tools:ignore="UnusedAttribute">
diff --git a/library/src/main/res/layout/activity_muzei_settings.xml b/library/src/main/res/layout/activity_muzei_settings.xml
index 8f249a872..f0ece8060 100644
--- a/library/src/main/res/layout/activity_muzei_settings.xml
+++ b/library/src/main/res/layout/activity_muzei_settings.xml
@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:fitsSystemWindows="true">
-
\ No newline at end of file
+
diff --git a/library/src/main/res/layout/activity_recyclerview.xml b/library/src/main/res/layout/activity_recyclerview.xml
index 40963f8bc..97a18203b 100644
--- a/library/src/main/res/layout/activity_recyclerview.xml
+++ b/library/src/main/res/layout/activity_recyclerview.xml
@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_root_view"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:fitsSystemWindows="true">
-
\ No newline at end of file
+
diff --git a/library/src/main/res/values/m3_styles.xml b/library/src/main/res/values/m3_styles.xml
index 96757f621..df6904528 100644
--- a/library/src/main/res/values/m3_styles.xml
+++ b/library/src/main/res/values/m3_styles.xml
@@ -50,6 +50,7 @@
- true
- @style/Widget.Frames.PreferenceThemeOverlay.MaterialYou
+ - @drawable/menu_background
diff --git a/library/src/main/res/values/styles.xml b/library/src/main/res/values/styles.xml
index 56efab01e..36e932585 100644
--- a/library/src/main/res/values/styles.xml
+++ b/library/src/main/res/values/styles.xml
@@ -42,6 +42,7 @@
- shortEdges
- true
+ - @drawable/menu_background