fix colors android

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-03-27 14:40:57 +01:00
parent 5fab3268bd
commit 2122c5518f
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 10 additions and 1 deletions

View File

@ -1,16 +1,20 @@
<resources>
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="colorPrimary">#4360df</item>
<item name="colorPrimaryDark">?attr/backgroundColor</item>
<item name="colorControlActivated">#ffffff</item>
<item name="colorControlActivated">#4360df</item>
<item name="android:windowBackground">?attr/backgroundColor</item>
<item name="android:textColor">?attr/textColor</item>
<item name="android:forceDarkAllowed">true</item>
</style>
<style name="LightTheme" parent="AppTheme">
<item name="textColor">#000000</item>
<item name="backgroundColor">#ffffff</item>
</style>
<style name="DarkTheme" parent="AppTheme">
<item name="textColor">#ffffff</item>
<item name="backgroundColor">#000000</item>
</style>
</resources>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="backgroundColor" format="color"/>
<attr name="textColor" format="color"/>
</resources>