diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-11-02 22:33:49 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-11-03 15:51:45 +0530 |
commit | f8ad1c97fdcc850c8bc592e17b80108a3fc661e8 (patch) | |
tree | d30740220f0904e89447ede2cdd0a9c7b48ebccf | |
parent | 9a00e68ab6d4147c8fd0846304c9b16243fb774e (diff) |
app: make toolbars match system bars
-rw-r--r-- | app/src/main/res/values-night/themes_material3.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/values/themes_material3.xml | 5 |
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> |