aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-02 22:33:40 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:45 +0530
commit9a00e68ab6d4147c8fd0846304c9b16243fb774e (patch)
treefa59b16c4e5f6b6e78cdd260678ea1b0de0e1485
parentfc662bfd2545055d411a62efdfb464214b2529f3 (diff)
app: fix system bars theming
-rw-r--r--app/src/main/res/values-night/themes_material3.xml3
-rw-r--r--app/src/main/res/values/themes_material3.xml3
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/values-night/themes_material3.xml b/app/src/main/res/values-night/themes_material3.xml
index 33533e44..e2d893de 100644
--- a/app/src/main/res/values-night/themes_material3.xml
+++ b/app/src/main/res/values-night/themes_material3.xml
@@ -33,5 +33,8 @@
<item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item>
<item name="colorPrimaryInverse">@color/md_theme_dark_primaryInverse</item>
<item name="fontFamily">@font/manrope</item>
+ <item name="android:windowLightStatusBar">@bool/light_status_bar</item>
+ <item name="android:statusBarColor">?android:colorBackground</item>
+ <item name="android:navigationBarColor">?android:colorBackground</item>
</style>
</resources>
diff --git a/app/src/main/res/values/themes_material3.xml b/app/src/main/res/values/themes_material3.xml
index 2d692627..e052f530 100644
--- a/app/src/main/res/values/themes_material3.xml
+++ b/app/src/main/res/values/themes_material3.xml
@@ -33,5 +33,8 @@
<item name="colorSurfaceInverse">@color/md_theme_light_inverseSurface</item>
<item name="colorPrimaryInverse">@color/md_theme_light_primaryInverse</item>
<item name="fontFamily">@font/manrope</item>
+ <item name="android:windowLightStatusBar">@bool/light_status_bar</item>
+ <item name="android:statusBarColor">?android:colorBackground</item>
+ <item name="android:navigationBarColor">?android:colorBackground</item>
</style>
</resources>