diff options
-rw-r--r-- | app/src/main/res/color/button_color.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/res/color/button_color.xml b/app/src/main/res/color/button_color.xml new file mode 100644 index 00000000..f7fed335 --- /dev/null +++ b/app/src/main/res/color/button_color.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:color="@color/colorFontBtnEnabled" android:state_enabled="true"/> + <item android:color="@color/colorFontBtn"/> +</selector>
\ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index f1da0785..c1039f70 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -40,6 +40,7 @@ <color name="colorActionBarSubtitleFont">@color/black800</color> <color name="colorEipFragmentFont">@color/black800</color> <color name="colorFontBtn">@color/black800</color> + <color name="colorFontBtnEnabled">@color/white</color> <color name="colorWarning">#B33A3A</color> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 9b05d3fe..df08916b 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -65,7 +65,7 @@ <item name="android:background">@drawable/cust_button_primary</item> <item name="android:height">36dp</item> <item name="android:minWidth">75dp</item> - <item name="android:textColor">@color/colorFontBtn</item> + <item name="android:textColor">@color/button_color</item> </style> <style name="BitmaskActivity"> |