diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/drawable/main_btn_shadow.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/layout/v_main_btn.xml | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/src/main/res/drawable/main_btn_shadow.xml b/app/src/main/res/drawable/main_btn_shadow.xml new file mode 100644 index 00000000..94cf379f --- /dev/null +++ b/app/src/main/res/drawable/main_btn_shadow.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/on_off_btn_start_2_pressed" android:state_pressed="true"/> + <item android:drawable="@drawable/on_off_btn_start_2_enabled"/> +</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 cf2a3e33..259edb5b 100644 --- a/app/src/main/res/layout/v_main_btn.xml +++ b/app/src/main/res/layout/v_main_btn.xml @@ -21,7 +21,7 @@ android:id="@+id/vpn_btn_shadow_dark" android:layout_width="wrap_content" android:layout_height="wrap_content" - app:srcCompat="@drawable/on_off_btn_start_2_enabled" + app:srcCompat="@drawable/main_btn_shadow" android:visibility="visible" /> |