summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-02 22:33:49 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:45 +0530
commitf8ad1c97fdcc850c8bc592e17b80108a3fc661e8 (patch)
treed30740220f0904e89447ede2cdd0a9c7b48ebccf /app/src/main
parent9a00e68ab6d4147c8fd0846304c9b16243fb774e (diff)
app: make toolbars match system bars
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/values-night/themes_material3.xml1
-rw-r--r--app/src/main/res/values/themes_material3.xml5
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 e2d893de..6f56863a 100644
--- a/app/src/main/res/values-night/themes_material3.xml
+++ b/app/src/main/res/values-night/themes_material3.xml
@@ -36,5 +36,6 @@
<item name="android:windowLightStatusBar">@bool/light_status_bar</item>
<item name="android:statusBarColor">?android:colorBackground</item>
<item name="android:navigationBarColor">?android:colorBackground</item>
+ <item name="toolbarStyle">@style/APSThemeM3.Toolbar</item>
</style>
</resources>
diff --git a/app/src/main/res/values/themes_material3.xml b/app/src/main/res/values/themes_material3.xml
index e052f530..19ee0fc1 100644
--- a/app/src/main/res/values/themes_material3.xml
+++ b/app/src/main/res/values/themes_material3.xml
@@ -36,5 +36,10 @@
<item name="android:windowLightStatusBar">@bool/light_status_bar</item>
<item name="android:statusBarColor">?android:colorBackground</item>
<item name="android:navigationBarColor">?android:colorBackground</item>
+ <item name="toolbarStyle">@style/APSThemeM3.Toolbar</item>
+ </style>
+
+ <style name="APSThemeM3.Toolbar" parent="Widget.Material3.Toolbar">
+ <item name="android:background">?android:colorBackground</item>
</style>
</resources>