Use DayNight theme from material-components
This commit is contained in:
4
mobile/src/main/res/values-night/bools.xml
Normal file
4
mobile/src/main/res/values-night/bools.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="is_day">false</bool>
|
||||
</resources>
|
||||
@@ -3,4 +3,6 @@
|
||||
<color name="colorPrimary">#2e7d32</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 -->
|
||||
<color name="navigationBarColor">@android:color/black</color>
|
||||
</resources>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.MaterialComponents.DayNight.NoActionBar" parent="Theme.MaterialComponents.NoActionBar"/>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user