Support day/night theme in custom tabs

This commit is contained in:
Mygod
2019-08-12 09:46:03 +08:00
parent a72075ef2e
commit 75cc9a8f87
4 changed files with 16 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#2e7d32</color>
<color name="colorPrimary">@color/dark_colorPrimary</color>
<color name="colorPrimaryDark">#005005</color>
<color name="colorSecondary">#AEEA00</color>
<!-- This actually takes precedence over v27: https://developer.android.com/guide/topics/resources/providing-resources.html#BestMatch -->

View File

@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#4CAF50</color>
<color name="light_colorPrimary">#4CAF50</color>
<color name="dark_colorPrimary">#2e7d32</color>
<color name="colorPrimary">@color/light_colorPrimary</color>
<color name="colorPrimaryDark">#087f23</color>
<color name="colorSecondary">#AEEA00</color>
<color name="navigationBarColor">@android:color/black</color>