1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-02-11 19:34:11 +01:00

Use material theme and move colors to colors.xml

This commit is contained in:
Erik Johansson 2018-02-05 18:11:30 +01:00
parent d7dd525806
commit 4ea32a4298
2 changed files with 9 additions and 6 deletions

View File

@ -3,4 +3,8 @@
<color name="blue_pressed">@android:color/holo_blue_dark</color>
<color name="blue_normal">@android:color/holo_blue_light</color>
<color name="gray_disabled">#ccc</color>
<color name="primaryColor">#000000</color>
<color name="primaryLightColor">@android:color/holo_blue_light</color>
<color name="primaryDarkColor">#000000</color>
</resources>

View File

@ -1,12 +1,11 @@
<resources>
<!-- Application theme. -->
<style name="AppTheme_Light" parent="Theme.Design.Light.NoActionBar">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
<item name="colorPrimary">#000000</item>
<item name="colorPrimaryDark">#000000</item>
<item name="colorAccent">@android:color/holo_blue_light</item>
<style name="AppTheme_Light" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/primaryColor</item>
<item name="colorPrimaryDark">@color/primaryDarkColor</item>
<item name="colorAccent">@color/primaryLightColor</item>
</style>
<style name="AppTheme_Dark" parent="Theme.Design.NoActionBar">
<style name="AppTheme_Dark" parent="Theme.AppCompat.NoActionBar">
</style>
</resources>