summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/color/main_button_state_color.xml5
-rw-r--r--app/src/main/res/layout/v_main_btn.xml5
2 files changed, 8 insertions, 2 deletions
diff --git a/app/src/main/res/color/main_button_state_color.xml b/app/src/main/res/color/main_button_state_color.xml
new file mode 100644
index 00000000..9650b033
--- /dev/null
+++ b/app/src/main/res/color/main_button_state_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/colorPrimaryDark" android:state_pressed="true"/>
+ <item android:color="@color/colorPrimary"/>
+</selector> \ No newline at end of file
diff --git a/app/src/main/res/layout/v_main_btn.xml b/app/src/main/res/layout/v_main_btn.xml
index c4c7a600..2c14c20e 100644
--- a/app/src/main/res/layout/v_main_btn.xml
+++ b/app/src/main/res/layout/v_main_btn.xml
@@ -29,7 +29,8 @@
android:id="@+id/vpn_btn_shadow_light"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- tools:visibility="gone"
+ tools:visibility="visible"
+ tools:tint="@color/colorMainBtnHighlight"
android:visibility="gone"
/>
@@ -39,7 +40,7 @@
android:layout_height="wrap_content"
app:srcCompat="@drawable/on_off_btn_start_2_no_shadow"
android:visibility="visible"
- android:tint="@color/colorPrimaryDark"
+ android:tint="@color/main_button_state_color"
/>
<androidx.appcompat.widget.AppCompatImageView