diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-06-01 18:57:32 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-06-01 18:57:32 +0300 |
commit | e1ba4569d002c918f88a16f35772397026a305f0 (patch) | |
tree | 21d0fff71875cfe85255cafd070ffba01a128211 /app/src/main/res/values/styles.xml | |
parent | 77d9d4ffb4db1ca55e4cb8cbdf7007899dac9e11 (diff) |
Make toolbars the same background color as the main content
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r-- | app/src/main/res/values/styles.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 2e0bb5af..76f51d90 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,10 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> -<resources xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android"> +<resources xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar.Bridge"> <item name="windowActionModeOverlay">true</item> + <item name="colorPrimary">@color/primary</item> <item name="android:statusBarColor" tools:targetApi="lollipop">?attr/colorPrimary</item> <item name="android:windowLightStatusBar" tools:targetApi="m">@bool/isDayMode</item> + <item name="android:actionModeBackground">?attr/colorPrimary</item> </style> <style name="fab"> @@ -16,5 +18,7 @@ <style name="SplashTheme" parent="AppTheme"> <item name="android:windowBackground">@drawable/splashscreen</item> + <item name="android:windowTranslucentStatus" tools:targetApi="kitkat">true</item> + <item name="android:windowLightStatusBar" tools:targetApi="m">false</item> </style> </resources>
\ No newline at end of file |