Updated MaterialComponent library, implemented DayNight theme

This commit is contained in:
2019-09-22 19:01:25 +02:00
committed by Matte23
parent d00ce9b51f
commit 348470921d
6 changed files with 17 additions and 13 deletions

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#008577</color>
<color name="colorPrimaryDark">#00574B</color>
<color name="colorAccent">#D81B60</color>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#03A9F4</color>
<color name="colorAccentDark">#007AC1</color>
<color name="colorDivider">#BDBDBD</color>
</resources>

View File

@@ -1,5 +1,5 @@
<resources>
<string name="app_name">Circolapp</string>
<string name="app_name">CircolApp</string>
<string name="title_circular_letters">Circular letters</string>
<string name="title_favourites">Favourites</string>
<string name="title_reminders">Reminders</string>

View File

@@ -1,11 +1,14 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorPrimaryVariant">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="colorSecondary">@color/colorAccent</item>
<item name="colorSecondaryVariant">@color/colorAccentDark</item>
</style>
</resources>