fix colors android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
5fab3268bd
commit
2122c5518f
|
@ -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>
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<attr name="backgroundColor" format="color"/>
|
||||
<attr name="textColor" format="color"/>
|
||||
</resources>
|
Loading…
Reference in New Issue