diff options
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java | 4 | ||||
-rw-r--r-- | app/src/main/res/layout/v_main_btn.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java b/app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java index b12f2b00..c5ac4544 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/views/MainButton.java @@ -106,9 +106,9 @@ public class MainButton extends RelativeLayout { if (this.isError != isError) { @DrawableRes int drawableResource = isOn ? R.drawable.on_off_btn_start_2_enabled : R.drawable.on_off_btn_start_2_disabled; if (!isError) { - setImageWithTint(shadowLight, drawableResource, R.color.colorSecondary); + setImageWithTint(shadowLight, drawableResource, R.color.colorMainBtnHighlight); } else { - setImageWithTint(shadowLight, drawableResource, R.color.colorWarning); + setImageWithTint(shadowLight, drawableResource, R.color.colorMainBtnError); } this.isError = isError; } diff --git a/app/src/main/res/layout/v_main_btn.xml b/app/src/main/res/layout/v_main_btn.xml index 259edb5b..c4c7a600 100644 --- a/app/src/main/res/layout/v_main_btn.xml +++ b/app/src/main/res/layout/v_main_btn.xml @@ -13,7 +13,7 @@ android:background="@drawable/main_btn_glow" tools:visibility="visible" android:visibility="gone" - android:backgroundTint="@color/colorSecondary" + android:backgroundTint="@color/colorMainBtnHighlight" /> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 4b77decb..bba7f1b5 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -7,7 +7,8 @@ <color name="colorError">#ef9a9a</color> <color name="colorSuccess">#a5d6a7</color> <color name="colorDisabled">#AAAAAA</color> - <color name="colorSecondary">#03DAC6</color> + <color name="colorMainBtnHighlight">#03DAC6</color> + <color name="colorMainBtnError">#eF2222</color> <color name="black800">#424242</color> <color name="black800_secondary">#3b3b3b</color> |