From 905cf37dc3e5e7a3a3ffdd80b09cb4be3ccfc806 Mon Sep 17 00:00:00 2001 From: cyberta Date: Wed, 30 Nov 2022 16:01:52 +0100 Subject: add new drawables for riseupVPN --- app/src/custom/res/drawable-hdpi/bg_connected.png | Bin 0 -> 147673 bytes app/src/custom/res/drawable-hdpi/bg_connecting.png | Bin 0 -> 237385 bytes .../custom/res/drawable-hdpi/bg_disconnected.png | Bin 0 -> 123636 bytes app/src/custom/res/drawable-xhdpi/bg_connected.png | Bin 0 -> 228442 bytes .../custom/res/drawable-xhdpi/bg_connecting.png | Bin 0 -> 402134 bytes .../custom/res/drawable-xhdpi/bg_disconnected.png | Bin 0 -> 200573 bytes .../custom/res/drawable-xxhdpi/bg_connected.png | Bin 0 -> 460545 bytes .../custom/res/drawable-xxhdpi/bg_connecting.png | Bin 0 -> 831328 bytes .../custom/res/drawable-xxhdpi/bg_disconnected.png | Bin 0 -> 417997 bytes .../custom/res/drawable-xxxhdpi/bg_connected.png | Bin 0 -> 765207 bytes .../custom/res/drawable-xxxhdpi/bg_connecting.png | Bin 0 -> 1492820 bytes .../res/drawable-xxxhdpi/bg_disconnected.png | Bin 0 -> 683759 bytes app/src/custom/res/drawable/bg_connected.png | Bin 0 -> 77818 bytes app/src/custom/res/drawable/bg_connecting.png | Bin 0 -> 112675 bytes app/src/custom/res/drawable/bg_disconnected.png | Bin 0 -> 63491 bytes app/src/custom/res/drawable/state_connected.xml | 15 +++ app/src/custom/res/layout/v_location_button.xml | 104 +++++++++++++++ app/src/custom/res/layout/v_main_button.xml | 142 +++++++++++++++++++++ 18 files changed, 261 insertions(+) create mode 100644 app/src/custom/res/drawable-hdpi/bg_connected.png create mode 100644 app/src/custom/res/drawable-hdpi/bg_connecting.png create mode 100644 app/src/custom/res/drawable-hdpi/bg_disconnected.png create mode 100644 app/src/custom/res/drawable-xhdpi/bg_connected.png create mode 100644 app/src/custom/res/drawable-xhdpi/bg_connecting.png create mode 100644 app/src/custom/res/drawable-xhdpi/bg_disconnected.png create mode 100644 app/src/custom/res/drawable-xxhdpi/bg_connected.png create mode 100644 app/src/custom/res/drawable-xxhdpi/bg_connecting.png create mode 100644 app/src/custom/res/drawable-xxhdpi/bg_disconnected.png create mode 100644 app/src/custom/res/drawable-xxxhdpi/bg_connected.png create mode 100644 app/src/custom/res/drawable-xxxhdpi/bg_connecting.png create mode 100644 app/src/custom/res/drawable-xxxhdpi/bg_disconnected.png create mode 100644 app/src/custom/res/drawable/bg_connected.png create mode 100644 app/src/custom/res/drawable/bg_connecting.png create mode 100644 app/src/custom/res/drawable/bg_disconnected.png create mode 100644 app/src/custom/res/drawable/state_connected.xml create mode 100644 app/src/custom/res/layout/v_location_button.xml create mode 100644 app/src/custom/res/layout/v_main_button.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/drawable-hdpi/bg_connected.png b/app/src/custom/res/drawable-hdpi/bg_connected.png new file mode 100644 index 00000000..53648c23 Binary files /dev/null and b/app/src/custom/res/drawable-hdpi/bg_connected.png differ diff --git a/app/src/custom/res/drawable-hdpi/bg_connecting.png b/app/src/custom/res/drawable-hdpi/bg_connecting.png new file mode 100644 index 00000000..a62d308c Binary files /dev/null and b/app/src/custom/res/drawable-hdpi/bg_connecting.png differ diff --git a/app/src/custom/res/drawable-hdpi/bg_disconnected.png b/app/src/custom/res/drawable-hdpi/bg_disconnected.png new file mode 100644 index 00000000..c2e031df Binary files /dev/null and b/app/src/custom/res/drawable-hdpi/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_connected.png b/app/src/custom/res/drawable-xhdpi/bg_connected.png new file mode 100644 index 00000000..4491692a Binary files /dev/null and b/app/src/custom/res/drawable-xhdpi/bg_connected.png differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_connecting.png b/app/src/custom/res/drawable-xhdpi/bg_connecting.png new file mode 100644 index 00000000..703a77c4 Binary files /dev/null and b/app/src/custom/res/drawable-xhdpi/bg_connecting.png differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_disconnected.png b/app/src/custom/res/drawable-xhdpi/bg_disconnected.png new file mode 100644 index 00000000..4e05614e Binary files /dev/null and b/app/src/custom/res/drawable-xhdpi/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_connected.png b/app/src/custom/res/drawable-xxhdpi/bg_connected.png new file mode 100644 index 00000000..29bd3a05 Binary files /dev/null and b/app/src/custom/res/drawable-xxhdpi/bg_connected.png differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_connecting.png b/app/src/custom/res/drawable-xxhdpi/bg_connecting.png new file mode 100644 index 00000000..9b91293c Binary files /dev/null and b/app/src/custom/res/drawable-xxhdpi/bg_connecting.png differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png b/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png new file mode 100644 index 00000000..c4a09aa7 Binary files /dev/null and b/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable-xxxhdpi/bg_connected.png b/app/src/custom/res/drawable-xxxhdpi/bg_connected.png new file mode 100644 index 00000000..d1e95fb6 Binary files /dev/null and b/app/src/custom/res/drawable-xxxhdpi/bg_connected.png differ diff --git a/app/src/custom/res/drawable-xxxhdpi/bg_connecting.png b/app/src/custom/res/drawable-xxxhdpi/bg_connecting.png new file mode 100644 index 00000000..e6d36eb0 Binary files /dev/null and b/app/src/custom/res/drawable-xxxhdpi/bg_connecting.png differ diff --git a/app/src/custom/res/drawable-xxxhdpi/bg_disconnected.png b/app/src/custom/res/drawable-xxxhdpi/bg_disconnected.png new file mode 100644 index 00000000..df597f2f Binary files /dev/null and b/app/src/custom/res/drawable-xxxhdpi/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable/bg_connected.png b/app/src/custom/res/drawable/bg_connected.png new file mode 100644 index 00000000..a375181d Binary files /dev/null and b/app/src/custom/res/drawable/bg_connected.png differ diff --git a/app/src/custom/res/drawable/bg_connecting.png b/app/src/custom/res/drawable/bg_connecting.png new file mode 100644 index 00000000..eccf184b Binary files /dev/null and b/app/src/custom/res/drawable/bg_connecting.png differ diff --git a/app/src/custom/res/drawable/bg_disconnected.png b/app/src/custom/res/drawable/bg_disconnected.png new file mode 100644 index 00000000..cc3ead9a Binary files /dev/null and b/app/src/custom/res/drawable/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable/state_connected.xml b/app/src/custom/res/drawable/state_connected.xml new file mode 100644 index 00000000..c9854d69 --- /dev/null +++ b/app/src/custom/res/drawable/state_connected.xml @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/app/src/custom/res/layout/v_location_button.xml b/app/src/custom/res/layout/v_location_button.xml new file mode 100644 index 00000000..8aaf4978 --- /dev/null +++ b/app/src/custom/res/layout/v_location_button.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/layout/v_main_button.xml b/app/src/custom/res/layout/v_main_button.xml new file mode 100644 index 00000000..e3f96693 --- /dev/null +++ b/app/src/custom/res/layout/v_main_button.xml @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From 5afe57ab868ee9e2e27f5b26b9b14de3519c0402 Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 02:08:55 +0100 Subject: rearranging assets, split them into normal and custom flavor --- app/src/custom/res/animator/alpha2.xml | 10 ++ app/src/custom/res/animator/alpha3.xml | 4 + app/src/custom/res/drawable-ldpi/logo.png | Bin 8743 -> 0 bytes app/src/custom/res/drawable-mdpi/logo.png | Bin 6324 -> 0 bytes app/src/custom/res/drawable-xxxhdpi/logo.png | Bin 43251 -> 0 bytes app/src/custom/res/drawable/background_eip.xml | 11 -- app/src/custom/res/drawable/crow.xml | 9 -- app/src/custom/res/drawable/ravens.xml | 33 +++++ app/src/custom/res/drawable/ravens1.xml | 16 --- app/src/custom/res/drawable/ravens2.xml | 24 ---- app/src/custom/res/drawable/ravens3.xml | 33 ----- .../custom/res/drawable/rotate_progress_image.xml | 14 ++ app/src/custom/res/drawable/state_connecting.xml | 4 + app/src/custom/res/drawable/state_disconnected.xml | 9 ++ app/src/custom/res/layout-port/f_eip.xml | 113 ---------------- app/src/custom/res/layout-xlarge-port/f_eip.xml | 122 ----------------- app/src/custom/res/layout-xlarge/f_eip.xml | 127 ------------------ app/src/custom/res/layout/f_eip.xml | 146 --------------------- app/src/custom/res/layout/v_location_button.xml | 104 --------------- app/src/custom/res/layout/v_main_button.xml | 142 -------------------- 20 files changed, 74 insertions(+), 847 deletions(-) create mode 100644 app/src/custom/res/animator/alpha2.xml create mode 100644 app/src/custom/res/animator/alpha3.xml delete mode 100644 app/src/custom/res/drawable-ldpi/logo.png delete mode 100644 app/src/custom/res/drawable-mdpi/logo.png delete mode 100644 app/src/custom/res/drawable-xxxhdpi/logo.png delete mode 100644 app/src/custom/res/drawable/background_eip.xml delete mode 100644 app/src/custom/res/drawable/crow.xml create mode 100644 app/src/custom/res/drawable/ravens.xml delete mode 100644 app/src/custom/res/drawable/ravens1.xml delete mode 100644 app/src/custom/res/drawable/ravens2.xml delete mode 100644 app/src/custom/res/drawable/ravens3.xml create mode 100644 app/src/custom/res/drawable/rotate_progress_image.xml create mode 100644 app/src/custom/res/drawable/state_connecting.xml create mode 100644 app/src/custom/res/drawable/state_disconnected.xml delete mode 100644 app/src/custom/res/layout-port/f_eip.xml delete mode 100644 app/src/custom/res/layout-xlarge-port/f_eip.xml delete mode 100644 app/src/custom/res/layout-xlarge/f_eip.xml delete mode 100644 app/src/custom/res/layout/f_eip.xml delete mode 100644 app/src/custom/res/layout/v_location_button.xml delete mode 100644 app/src/custom/res/layout/v_main_button.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/animator/alpha2.xml b/app/src/custom/res/animator/alpha2.xml new file mode 100644 index 00000000..bf997dea --- /dev/null +++ b/app/src/custom/res/animator/alpha2.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/app/src/custom/res/animator/alpha3.xml b/app/src/custom/res/animator/alpha3.xml new file mode 100644 index 00000000..d05f36c2 --- /dev/null +++ b/app/src/custom/res/animator/alpha3.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-ldpi/logo.png b/app/src/custom/res/drawable-ldpi/logo.png deleted file mode 100644 index 4e22d99f..00000000 Binary files a/app/src/custom/res/drawable-ldpi/logo.png and /dev/null differ diff --git a/app/src/custom/res/drawable-mdpi/logo.png b/app/src/custom/res/drawable-mdpi/logo.png deleted file mode 100644 index e53cb15c..00000000 Binary files a/app/src/custom/res/drawable-mdpi/logo.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xxxhdpi/logo.png b/app/src/custom/res/drawable-xxxhdpi/logo.png deleted file mode 100644 index 4297d90c..00000000 Binary files a/app/src/custom/res/drawable-xxxhdpi/logo.png and /dev/null differ diff --git a/app/src/custom/res/drawable/background_eip.xml b/app/src/custom/res/drawable/background_eip.xml deleted file mode 100644 index a2364794..00000000 --- a/app/src/custom/res/drawable/background_eip.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/crow.xml b/app/src/custom/res/drawable/crow.xml deleted file mode 100644 index 3d3660b8..00000000 --- a/app/src/custom/res/drawable/crow.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/ravens.xml b/app/src/custom/res/drawable/ravens.xml new file mode 100644 index 00000000..f97a3532 --- /dev/null +++ b/app/src/custom/res/drawable/ravens.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/ravens1.xml b/app/src/custom/res/drawable/ravens1.xml deleted file mode 100644 index d38b0c19..00000000 --- a/app/src/custom/res/drawable/ravens1.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/ravens2.xml b/app/src/custom/res/drawable/ravens2.xml deleted file mode 100644 index 0a3cbb7e..00000000 --- a/app/src/custom/res/drawable/ravens2.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/ravens3.xml b/app/src/custom/res/drawable/ravens3.xml deleted file mode 100644 index f97a3532..00000000 --- a/app/src/custom/res/drawable/ravens3.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/rotate_progress_image.xml b/app/src/custom/res/drawable/rotate_progress_image.xml new file mode 100644 index 00000000..f84f9034 --- /dev/null +++ b/app/src/custom/res/drawable/rotate_progress_image.xml @@ -0,0 +1,14 @@ + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_connecting.xml b/app/src/custom/res/drawable/state_connecting.xml new file mode 100644 index 00000000..3ef89983 --- /dev/null +++ b/app/src/custom/res/drawable/state_connecting.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_disconnected.xml b/app/src/custom/res/drawable/state_disconnected.xml new file mode 100644 index 00000000..3d3660b8 --- /dev/null +++ b/app/src/custom/res/drawable/state_disconnected.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/app/src/custom/res/layout-port/f_eip.xml b/app/src/custom/res/layout-port/f_eip.xml deleted file mode 100644 index cb99a700..00000000 --- a/app/src/custom/res/layout-port/f_eip.xml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/custom/res/layout-xlarge-port/f_eip.xml b/app/src/custom/res/layout-xlarge-port/f_eip.xml deleted file mode 100644 index 10b7a7e3..00000000 --- a/app/src/custom/res/layout-xlarge-port/f_eip.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/custom/res/layout-xlarge/f_eip.xml b/app/src/custom/res/layout-xlarge/f_eip.xml deleted file mode 100644 index e6b28c67..00000000 --- a/app/src/custom/res/layout-xlarge/f_eip.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/custom/res/layout/f_eip.xml b/app/src/custom/res/layout/f_eip.xml deleted file mode 100644 index 9a823b65..00000000 --- a/app/src/custom/res/layout/f_eip.xml +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/custom/res/layout/v_location_button.xml b/app/src/custom/res/layout/v_location_button.xml deleted file mode 100644 index 8aaf4978..00000000 --- a/app/src/custom/res/layout/v_location_button.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/layout/v_main_button.xml b/app/src/custom/res/layout/v_main_button.xml deleted file mode 100644 index e3f96693..00000000 --- a/app/src/custom/res/layout/v_main_button.xml +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file -- cgit v1.2.3 From 33bae6bada5aadc3ab3919fa04233d2d916e5721 Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 02:18:48 +0100 Subject: implement connecting animation for riseup --- app/src/custom/res/animator/alpha1.xml | 11 +++++++++++ app/src/custom/res/animator/alpha2.xml | 16 +++++++++------- app/src/custom/res/animator/alpha3.xml | 11 +++++++++-- app/src/custom/res/drawable/ravens.xml | 6 ++++++ app/src/custom/res/drawable/state_connecting.xml | 17 ++++++++++++++--- 5 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 app/src/custom/res/animator/alpha1.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/animator/alpha1.xml b/app/src/custom/res/animator/alpha1.xml new file mode 100644 index 00000000..94192a0b --- /dev/null +++ b/app/src/custom/res/animator/alpha1.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/app/src/custom/res/animator/alpha2.xml b/app/src/custom/res/animator/alpha2.xml index bf997dea..b66ef59c 100644 --- a/app/src/custom/res/animator/alpha2.xml +++ b/app/src/custom/res/animator/alpha2.xml @@ -1,10 +1,12 @@ - \ No newline at end of file + android:duration="1000" + android:propertyName="fillColor" + android:valueFrom="#00000000" + android:valueTo="#000000" + android:startOffset="1000" + android:valueType="colorType" + /> + + diff --git a/app/src/custom/res/animator/alpha3.xml b/app/src/custom/res/animator/alpha3.xml index d05f36c2..2a1e0ba4 100644 --- a/app/src/custom/res/animator/alpha3.xml +++ b/app/src/custom/res/animator/alpha3.xml @@ -1,4 +1,11 @@ - - \ No newline at end of file + + diff --git a/app/src/custom/res/drawable/ravens.xml b/app/src/custom/res/drawable/ravens.xml index f97a3532..788aef84 100644 --- a/app/src/custom/res/drawable/ravens.xml +++ b/app/src/custom/res/drawable/ravens.xml @@ -4,29 +4,35 @@ android:width="342dp" android:height="206dp"> diff --git a/app/src/custom/res/drawable/state_connecting.xml b/app/src/custom/res/drawable/state_connecting.xml index 3ef89983..267ba791 100644 --- a/app/src/custom/res/drawable/state_connecting.xml +++ b/app/src/custom/res/drawable/state_connecting.xml @@ -1,4 +1,15 @@ - - - \ No newline at end of file + + + + + + \ No newline at end of file -- cgit v1.2.3 From 9ec59148a926a5c8e5fecfbb64b6418d1dbb852d Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 15:37:59 +0100 Subject: implement transition animation between connected and disconnected state for RiseupVPn --- .../state_transition_connceted_disconnected.xml | 4 + app/src/custom/res/drawable/state_connected.xml | 30 +++++--- app/src/custom/res/drawable/state_disconnected.xml | 22 ++++-- .../state_transition_connected_disconnected.xml | 89 ++++++++++++++++++++++ 4 files changed, 129 insertions(+), 16 deletions(-) create mode 100644 app/src/custom/res/animator/state_transition_connceted_disconnected.xml create mode 100644 app/src/custom/res/drawable/state_transition_connected_disconnected.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/animator/state_transition_connceted_disconnected.xml b/app/src/custom/res/animator/state_transition_connceted_disconnected.xml new file mode 100644 index 00000000..751d2da5 --- /dev/null +++ b/app/src/custom/res/animator/state_transition_connceted_disconnected.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_connected.xml b/app/src/custom/res/drawable/state_connected.xml index c9854d69..e0a9005f 100644 --- a/app/src/custom/res/drawable/state_connected.xml +++ b/app/src/custom/res/drawable/state_connected.xml @@ -3,13 +3,25 @@ android:viewportHeight="220" android:width="166dp" android:height="220dp"> - - - + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_disconnected.xml b/app/src/custom/res/drawable/state_disconnected.xml index 3d3660b8..7c49a537 100644 --- a/app/src/custom/res/drawable/state_disconnected.xml +++ b/app/src/custom/res/drawable/state_disconnected.xml @@ -1,9 +1,17 @@ - + android:viewportWidth="166" + android:viewportHeight="220" + android:width="166dp" + android:height="220dp"> + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_transition_connected_disconnected.xml b/app/src/custom/res/drawable/state_transition_connected_disconnected.xml new file mode 100644 index 00000000..0496e729 --- /dev/null +++ b/app/src/custom/res/drawable/state_transition_connected_disconnected.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3 From 1709558fd2025a62931248b4c021f379172de70f Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 15:40:37 +0100 Subject: fix colors --- app/src/custom/res/values/custom-theme.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/values/custom-theme.xml b/app/src/custom/res/values/custom-theme.xml index a17b401c..b1a8d0cd 100644 --- a/app/src/custom/res/values/custom-theme.xml +++ b/app/src/custom/res/values/custom-theme.xml @@ -9,8 +9,11 @@ #ffffff #cccccc + + @color/black800_dark + @color/white - #ffffff + @color/black800_dark #58FFA9 -- cgit v1.2.3 From 620689f338ffcedb29558d80fda00006d65a6ef7 Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 20:43:15 +0100 Subject: fix location button icon color for RiseupVPN --- app/src/custom/res/values/custom-theme.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/values/custom-theme.xml b/app/src/custom/res/values/custom-theme.xml index b1a8d0cd..48d04322 100644 --- a/app/src/custom/res/values/custom-theme.xml +++ b/app/src/custom/res/values/custom-theme.xml @@ -19,6 +19,6 @@ #eF2222 - #ffffff - #22ffffff + @color/black800 + @color/black800_transparent -- cgit v1.2.3 From e8625b3fb29285d73033efb3aab96263528e270a Mon Sep 17 00:00:00 2001 From: cyberta Date: Sun, 4 Dec 2022 02:07:49 +0100 Subject: replace connected state background pngs for RiseupVPN with vector graphics --- app/src/custom/res/drawable-hdpi/bg_connected.png | Bin 147673 -> 0 bytes app/src/custom/res/drawable-hdpi/bg_connecting.png | Bin 237385 -> 0 bytes .../custom/res/drawable-hdpi/bg_disconnected.png | Bin 123636 -> 0 bytes app/src/custom/res/drawable-xhdpi/bg_connected.png | Bin 228442 -> 0 bytes .../custom/res/drawable-xhdpi/bg_connecting.png | Bin 402134 -> 0 bytes .../custom/res/drawable-xhdpi/bg_disconnected.png | Bin 200573 -> 0 bytes .../custom/res/drawable-xxhdpi/bg_connected.png | Bin 460545 -> 0 bytes .../custom/res/drawable-xxhdpi/bg_connecting.png | Bin 831328 -> 0 bytes .../custom/res/drawable-xxhdpi/bg_disconnected.png | Bin 417997 -> 0 bytes .../custom/res/drawable-xxxhdpi/bg_connected.png | Bin 765207 -> 0 bytes .../custom/res/drawable-xxxhdpi/bg_connecting.png | Bin 1492820 -> 0 bytes .../res/drawable-xxxhdpi/bg_disconnected.png | Bin 683759 -> 0 bytes app/src/custom/res/drawable/bg_connected.png | Bin 77818 -> 0 bytes app/src/custom/res/drawable/bg_connected.xml | 13 ++++++ .../custom/res/drawable/bg_connected_effect.xml | 25 ++++++++++++ app/src/custom/res/drawable/bg_connecting.png | Bin 112675 -> 0 bytes app/src/custom/res/drawable/bg_connecting.xml | 13 ++++++ .../custom/res/drawable/bg_connecting_effect.xml | 44 ++++++++++++++++++++ app/src/custom/res/drawable/bg_disconnected.png | Bin 63491 -> 0 bytes app/src/custom/res/drawable/bg_disconnected.xml | 15 +++++++ .../custom/res/drawable/bg_disconnected_effect.xml | 45 +++++++++++++++++++++ 21 files changed, 155 insertions(+) delete mode 100644 app/src/custom/res/drawable-hdpi/bg_connected.png delete mode 100644 app/src/custom/res/drawable-hdpi/bg_connecting.png delete mode 100644 app/src/custom/res/drawable-hdpi/bg_disconnected.png delete mode 100644 app/src/custom/res/drawable-xhdpi/bg_connected.png delete mode 100644 app/src/custom/res/drawable-xhdpi/bg_connecting.png delete mode 100644 app/src/custom/res/drawable-xhdpi/bg_disconnected.png delete mode 100644 app/src/custom/res/drawable-xxhdpi/bg_connected.png delete mode 100644 app/src/custom/res/drawable-xxhdpi/bg_connecting.png delete mode 100644 app/src/custom/res/drawable-xxhdpi/bg_disconnected.png delete mode 100644 app/src/custom/res/drawable-xxxhdpi/bg_connected.png delete mode 100644 app/src/custom/res/drawable-xxxhdpi/bg_connecting.png delete mode 100644 app/src/custom/res/drawable-xxxhdpi/bg_disconnected.png delete mode 100644 app/src/custom/res/drawable/bg_connected.png create mode 100644 app/src/custom/res/drawable/bg_connected.xml create mode 100644 app/src/custom/res/drawable/bg_connected_effect.xml delete mode 100644 app/src/custom/res/drawable/bg_connecting.png create mode 100644 app/src/custom/res/drawable/bg_connecting.xml create mode 100644 app/src/custom/res/drawable/bg_connecting_effect.xml delete mode 100644 app/src/custom/res/drawable/bg_disconnected.png create mode 100644 app/src/custom/res/drawable/bg_disconnected.xml create mode 100644 app/src/custom/res/drawable/bg_disconnected_effect.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/drawable-hdpi/bg_connected.png b/app/src/custom/res/drawable-hdpi/bg_connected.png deleted file mode 100644 index 53648c23..00000000 Binary files a/app/src/custom/res/drawable-hdpi/bg_connected.png and /dev/null differ diff --git a/app/src/custom/res/drawable-hdpi/bg_connecting.png b/app/src/custom/res/drawable-hdpi/bg_connecting.png deleted file mode 100644 index a62d308c..00000000 Binary files a/app/src/custom/res/drawable-hdpi/bg_connecting.png and /dev/null differ diff --git a/app/src/custom/res/drawable-hdpi/bg_disconnected.png b/app/src/custom/res/drawable-hdpi/bg_disconnected.png deleted file mode 100644 index c2e031df..00000000 Binary files a/app/src/custom/res/drawable-hdpi/bg_disconnected.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_connected.png b/app/src/custom/res/drawable-xhdpi/bg_connected.png deleted file mode 100644 index 4491692a..00000000 Binary files a/app/src/custom/res/drawable-xhdpi/bg_connected.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_connecting.png b/app/src/custom/res/drawable-xhdpi/bg_connecting.png deleted file mode 100644 index 703a77c4..00000000 Binary files a/app/src/custom/res/drawable-xhdpi/bg_connecting.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_disconnected.png b/app/src/custom/res/drawable-xhdpi/bg_disconnected.png deleted file mode 100644 index 4e05614e..00000000 Binary files a/app/src/custom/res/drawable-xhdpi/bg_disconnected.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_connected.png b/app/src/custom/res/drawable-xxhdpi/bg_connected.png deleted file mode 100644 index 29bd3a05..00000000 Binary files a/app/src/custom/res/drawable-xxhdpi/bg_connected.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_connecting.png b/app/src/custom/res/drawable-xxhdpi/bg_connecting.png deleted file mode 100644 index 9b91293c..00000000 Binary files a/app/src/custom/res/drawable-xxhdpi/bg_connecting.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png b/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png deleted file mode 100644 index c4a09aa7..00000000 Binary files a/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xxxhdpi/bg_connected.png b/app/src/custom/res/drawable-xxxhdpi/bg_connected.png deleted file mode 100644 index d1e95fb6..00000000 Binary files a/app/src/custom/res/drawable-xxxhdpi/bg_connected.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xxxhdpi/bg_connecting.png b/app/src/custom/res/drawable-xxxhdpi/bg_connecting.png deleted file mode 100644 index e6d36eb0..00000000 Binary files a/app/src/custom/res/drawable-xxxhdpi/bg_connecting.png and /dev/null differ diff --git a/app/src/custom/res/drawable-xxxhdpi/bg_disconnected.png b/app/src/custom/res/drawable-xxxhdpi/bg_disconnected.png deleted file mode 100644 index df597f2f..00000000 Binary files a/app/src/custom/res/drawable-xxxhdpi/bg_disconnected.png and /dev/null differ diff --git a/app/src/custom/res/drawable/bg_connected.png b/app/src/custom/res/drawable/bg_connected.png deleted file mode 100644 index a375181d..00000000 Binary files a/app/src/custom/res/drawable/bg_connected.png and /dev/null differ diff --git a/app/src/custom/res/drawable/bg_connected.xml b/app/src/custom/res/drawable/bg_connected.xml new file mode 100644 index 00000000..f851203d --- /dev/null +++ b/app/src/custom/res/drawable/bg_connected.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_connected_effect.xml b/app/src/custom/res/drawable/bg_connected_effect.xml new file mode 100644 index 00000000..75e79573 --- /dev/null +++ b/app/src/custom/res/drawable/bg_connected_effect.xml @@ -0,0 +1,25 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_connecting.png b/app/src/custom/res/drawable/bg_connecting.png deleted file mode 100644 index eccf184b..00000000 Binary files a/app/src/custom/res/drawable/bg_connecting.png and /dev/null differ diff --git a/app/src/custom/res/drawable/bg_connecting.xml b/app/src/custom/res/drawable/bg_connecting.xml new file mode 100644 index 00000000..8482d30e --- /dev/null +++ b/app/src/custom/res/drawable/bg_connecting.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_connecting_effect.xml b/app/src/custom/res/drawable/bg_connecting_effect.xml new file mode 100644 index 00000000..fd462a54 --- /dev/null +++ b/app/src/custom/res/drawable/bg_connecting_effect.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_disconnected.png b/app/src/custom/res/drawable/bg_disconnected.png deleted file mode 100644 index cc3ead9a..00000000 Binary files a/app/src/custom/res/drawable/bg_disconnected.png and /dev/null differ diff --git a/app/src/custom/res/drawable/bg_disconnected.xml b/app/src/custom/res/drawable/bg_disconnected.xml new file mode 100644 index 00000000..bfc3c1d1 --- /dev/null +++ b/app/src/custom/res/drawable/bg_disconnected.xml @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_disconnected_effect.xml b/app/src/custom/res/drawable/bg_disconnected_effect.xml new file mode 100644 index 00000000..d19c2f7f --- /dev/null +++ b/app/src/custom/res/drawable/bg_disconnected_effect.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From e963546dd01627d1a7c9f38467733ae80cddaef3 Mon Sep 17 00:00:00 2001 From: cyberta Date: Sun, 4 Dec 2022 16:59:59 +0100 Subject: implement RiseupVPN splash screen for Android API 31+ --- app/src/custom/res/drawable/splash_branding.xml | 47 +++++++++++++++++++++++++ app/src/custom/res/drawable/splash_icon.xml | 17 +++++++++ app/src/custom/res/drawable/splash_page.xml | 10 ++++++ 3 files changed, 74 insertions(+) create mode 100644 app/src/custom/res/drawable/splash_branding.xml create mode 100644 app/src/custom/res/drawable/splash_icon.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/drawable/splash_branding.xml b/app/src/custom/res/drawable/splash_branding.xml new file mode 100644 index 00000000..8bbd83ca --- /dev/null +++ b/app/src/custom/res/drawable/splash_branding.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + diff --git a/app/src/custom/res/drawable/splash_icon.xml b/app/src/custom/res/drawable/splash_icon.xml new file mode 100644 index 00000000..e8335bc6 --- /dev/null +++ b/app/src/custom/res/drawable/splash_icon.xml @@ -0,0 +1,17 @@ + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/splash_page.xml b/app/src/custom/res/drawable/splash_page.xml index 4c72dfe2..48a622ac 100644 --- a/app/src/custom/res/drawable/splash_page.xml +++ b/app/src/custom/res/drawable/splash_page.xml @@ -1,4 +1,14 @@ + -- cgit v1.2.3 From 1b981b7971e207e892a4f457d455f0856533540f Mon Sep 17 00:00:00 2001 From: cyberta Date: Mon, 5 Dec 2022 13:23:14 +0100 Subject: replace motd png with vector graphic --- app/src/custom/res/drawable/ic_motd.png | Bin 34639 -> 0 bytes app/src/custom/res/drawable/ic_motd.xml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+) delete mode 100644 app/src/custom/res/drawable/ic_motd.png create mode 100644 app/src/custom/res/drawable/ic_motd.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/drawable/ic_motd.png b/app/src/custom/res/drawable/ic_motd.png deleted file mode 100644 index 5d2efea4..00000000 Binary files a/app/src/custom/res/drawable/ic_motd.png and /dev/null differ diff --git a/app/src/custom/res/drawable/ic_motd.xml b/app/src/custom/res/drawable/ic_motd.xml new file mode 100644 index 00000000..85c9e58a --- /dev/null +++ b/app/src/custom/res/drawable/ic_motd.xml @@ -0,0 +1,18 @@ + + + + + + + \ No newline at end of file -- cgit v1.2.3 From ec380e8b8913835cc50448aa51b75b3925644957 Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 6 Dec 2022 03:17:15 +0100 Subject: re-adding pngs as fallback for pre-API 24, appearantly Android 6's vector graphic rendering is really broken --- .../res/drawable-anydpi-v24/bg_connected.xml | 13 +++ .../drawable-anydpi-v24/bg_connected_effect.xml | 25 ++++++ .../res/drawable-anydpi-v24/bg_connecting.xml | 13 +++ .../drawable-anydpi-v24/bg_connecting_effect.xml | 44 ++++++++++ .../res/drawable-anydpi-v24/bg_disconnected.xml | 15 ++++ .../drawable-anydpi-v24/bg_disconnected_effect.xml | 45 +++++++++++ app/src/custom/res/drawable-anydpi-v24/ic_motd.xml | 18 +++++ app/src/custom/res/drawable-anydpi-v24/ravens.xml | 39 +++++++++ .../drawable-anydpi-v24/rotate_progress_image.xml | 14 ++++ .../res/drawable-anydpi-v24/state_connected.xml | 27 +++++++ .../res/drawable-anydpi-v24/state_connecting.xml | 15 ++++ .../res/drawable-anydpi-v24/state_disconnected.xml | 17 ++++ .../state_transition_connected_disconnected.xml | 89 +++++++++++++++++++++ app/src/custom/res/drawable-hdpi/bg_connected.png | Bin 0 -> 61315 bytes app/src/custom/res/drawable-hdpi/bg_connecting.png | Bin 0 -> 137369 bytes .../custom/res/drawable-hdpi/bg_disconnected.png | Bin 0 -> 116565 bytes app/src/custom/res/drawable-xhdpi/bg_connected.png | Bin 0 -> 85060 bytes .../custom/res/drawable-xhdpi/bg_connecting.png | Bin 0 -> 230677 bytes .../custom/res/drawable-xhdpi/bg_disconnected.png | Bin 0 -> 164266 bytes .../custom/res/drawable-xxhdpi/bg_connected.png | Bin 0 -> 136989 bytes .../custom/res/drawable-xxhdpi/bg_connecting.png | Bin 0 -> 422556 bytes .../custom/res/drawable-xxhdpi/bg_disconnected.png | Bin 0 -> 258953 bytes app/src/custom/res/drawable/bg_connected.png | Bin 0 -> 39210 bytes app/src/custom/res/drawable/bg_connected.xml | 13 --- .../custom/res/drawable/bg_connected_effect.xml | 25 ------ app/src/custom/res/drawable/bg_connecting.png | Bin 0 -> 68160 bytes app/src/custom/res/drawable/bg_connecting.xml | 13 --- .../custom/res/drawable/bg_connecting_effect.xml | 44 ---------- app/src/custom/res/drawable/bg_disconnected.png | Bin 0 -> 71570 bytes app/src/custom/res/drawable/bg_disconnected.xml | 15 ---- .../custom/res/drawable/bg_disconnected_effect.xml | 45 ----------- app/src/custom/res/drawable/ic_motd.png | Bin 0 -> 34639 bytes app/src/custom/res/drawable/ic_motd.xml | 18 ----- app/src/custom/res/drawable/ravens.xml | 39 --------- .../custom/res/drawable/rotate_progress_image.png | Bin 0 -> 161 bytes .../custom/res/drawable/rotate_progress_image.xml | 14 ---- app/src/custom/res/drawable/state_connected.png | Bin 0 -> 48758 bytes app/src/custom/res/drawable/state_connected.xml | 27 ------- app/src/custom/res/drawable/state_connecting.png | Bin 0 -> 111663 bytes app/src/custom/res/drawable/state_connecting.xml | 15 ---- app/src/custom/res/drawable/state_disconnected.xml | 23 ++---- .../state_transition_connected_disconnected.xml | 89 --------------------- 42 files changed, 380 insertions(+), 374 deletions(-) create mode 100644 app/src/custom/res/drawable-anydpi-v24/bg_connected.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/bg_connected_effect.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/bg_connecting.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/bg_connecting_effect.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/bg_disconnected.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/bg_disconnected_effect.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/ic_motd.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/ravens.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/rotate_progress_image.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/state_connected.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/state_connecting.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/state_disconnected.xml create mode 100644 app/src/custom/res/drawable-anydpi-v24/state_transition_connected_disconnected.xml create mode 100644 app/src/custom/res/drawable-hdpi/bg_connected.png create mode 100644 app/src/custom/res/drawable-hdpi/bg_connecting.png create mode 100644 app/src/custom/res/drawable-hdpi/bg_disconnected.png create mode 100644 app/src/custom/res/drawable-xhdpi/bg_connected.png create mode 100644 app/src/custom/res/drawable-xhdpi/bg_connecting.png create mode 100644 app/src/custom/res/drawable-xhdpi/bg_disconnected.png create mode 100644 app/src/custom/res/drawable-xxhdpi/bg_connected.png create mode 100644 app/src/custom/res/drawable-xxhdpi/bg_connecting.png create mode 100644 app/src/custom/res/drawable-xxhdpi/bg_disconnected.png create mode 100644 app/src/custom/res/drawable/bg_connected.png delete mode 100644 app/src/custom/res/drawable/bg_connected.xml delete mode 100644 app/src/custom/res/drawable/bg_connected_effect.xml create mode 100644 app/src/custom/res/drawable/bg_connecting.png delete mode 100644 app/src/custom/res/drawable/bg_connecting.xml delete mode 100644 app/src/custom/res/drawable/bg_connecting_effect.xml create mode 100644 app/src/custom/res/drawable/bg_disconnected.png delete mode 100644 app/src/custom/res/drawable/bg_disconnected.xml delete mode 100644 app/src/custom/res/drawable/bg_disconnected_effect.xml create mode 100644 app/src/custom/res/drawable/ic_motd.png delete mode 100644 app/src/custom/res/drawable/ic_motd.xml delete mode 100644 app/src/custom/res/drawable/ravens.xml create mode 100644 app/src/custom/res/drawable/rotate_progress_image.png delete mode 100644 app/src/custom/res/drawable/rotate_progress_image.xml create mode 100644 app/src/custom/res/drawable/state_connected.png delete mode 100644 app/src/custom/res/drawable/state_connected.xml create mode 100644 app/src/custom/res/drawable/state_connecting.png delete mode 100644 app/src/custom/res/drawable/state_connecting.xml delete mode 100644 app/src/custom/res/drawable/state_transition_connected_disconnected.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/drawable-anydpi-v24/bg_connected.xml b/app/src/custom/res/drawable-anydpi-v24/bg_connected.xml new file mode 100644 index 00000000..f851203d --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/bg_connected.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/bg_connected_effect.xml b/app/src/custom/res/drawable-anydpi-v24/bg_connected_effect.xml new file mode 100644 index 00000000..75e79573 --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/bg_connected_effect.xml @@ -0,0 +1,25 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/bg_connecting.xml b/app/src/custom/res/drawable-anydpi-v24/bg_connecting.xml new file mode 100644 index 00000000..8482d30e --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/bg_connecting.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/bg_connecting_effect.xml b/app/src/custom/res/drawable-anydpi-v24/bg_connecting_effect.xml new file mode 100644 index 00000000..fd462a54 --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/bg_connecting_effect.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/bg_disconnected.xml b/app/src/custom/res/drawable-anydpi-v24/bg_disconnected.xml new file mode 100644 index 00000000..bfc3c1d1 --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/bg_disconnected.xml @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/bg_disconnected_effect.xml b/app/src/custom/res/drawable-anydpi-v24/bg_disconnected_effect.xml new file mode 100644 index 00000000..d19c2f7f --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/bg_disconnected_effect.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/ic_motd.xml b/app/src/custom/res/drawable-anydpi-v24/ic_motd.xml new file mode 100644 index 00000000..85c9e58a --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/ic_motd.xml @@ -0,0 +1,18 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/ravens.xml b/app/src/custom/res/drawable-anydpi-v24/ravens.xml new file mode 100644 index 00000000..788aef84 --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/ravens.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/rotate_progress_image.xml b/app/src/custom/res/drawable-anydpi-v24/rotate_progress_image.xml new file mode 100644 index 00000000..f84f9034 --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/rotate_progress_image.xml @@ -0,0 +1,14 @@ + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/state_connected.xml b/app/src/custom/res/drawable-anydpi-v24/state_connected.xml new file mode 100644 index 00000000..e0a9005f --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/state_connected.xml @@ -0,0 +1,27 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/state_connecting.xml b/app/src/custom/res/drawable-anydpi-v24/state_connecting.xml new file mode 100644 index 00000000..267ba791 --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/state_connecting.xml @@ -0,0 +1,15 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/state_disconnected.xml b/app/src/custom/res/drawable-anydpi-v24/state_disconnected.xml new file mode 100644 index 00000000..7c49a537 --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/state_disconnected.xml @@ -0,0 +1,17 @@ + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/state_transition_connected_disconnected.xml b/app/src/custom/res/drawable-anydpi-v24/state_transition_connected_disconnected.xml new file mode 100644 index 00000000..0496e729 --- /dev/null +++ b/app/src/custom/res/drawable-anydpi-v24/state_transition_connected_disconnected.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/custom/res/drawable-hdpi/bg_connected.png b/app/src/custom/res/drawable-hdpi/bg_connected.png new file mode 100644 index 00000000..aa29fd90 Binary files /dev/null and b/app/src/custom/res/drawable-hdpi/bg_connected.png differ diff --git a/app/src/custom/res/drawable-hdpi/bg_connecting.png b/app/src/custom/res/drawable-hdpi/bg_connecting.png new file mode 100644 index 00000000..49620c2c Binary files /dev/null and b/app/src/custom/res/drawable-hdpi/bg_connecting.png differ diff --git a/app/src/custom/res/drawable-hdpi/bg_disconnected.png b/app/src/custom/res/drawable-hdpi/bg_disconnected.png new file mode 100644 index 00000000..35180222 Binary files /dev/null and b/app/src/custom/res/drawable-hdpi/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_connected.png b/app/src/custom/res/drawable-xhdpi/bg_connected.png new file mode 100644 index 00000000..f9588d56 Binary files /dev/null and b/app/src/custom/res/drawable-xhdpi/bg_connected.png differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_connecting.png b/app/src/custom/res/drawable-xhdpi/bg_connecting.png new file mode 100644 index 00000000..294e4708 Binary files /dev/null and b/app/src/custom/res/drawable-xhdpi/bg_connecting.png differ diff --git a/app/src/custom/res/drawable-xhdpi/bg_disconnected.png b/app/src/custom/res/drawable-xhdpi/bg_disconnected.png new file mode 100644 index 00000000..d18bc78e Binary files /dev/null and b/app/src/custom/res/drawable-xhdpi/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_connected.png b/app/src/custom/res/drawable-xxhdpi/bg_connected.png new file mode 100644 index 00000000..14c58b03 Binary files /dev/null and b/app/src/custom/res/drawable-xxhdpi/bg_connected.png differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_connecting.png b/app/src/custom/res/drawable-xxhdpi/bg_connecting.png new file mode 100644 index 00000000..062e84c4 Binary files /dev/null and b/app/src/custom/res/drawable-xxhdpi/bg_connecting.png differ diff --git a/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png b/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png new file mode 100644 index 00000000..cd014703 Binary files /dev/null and b/app/src/custom/res/drawable-xxhdpi/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable/bg_connected.png b/app/src/custom/res/drawable/bg_connected.png new file mode 100644 index 00000000..78a09cae Binary files /dev/null and b/app/src/custom/res/drawable/bg_connected.png differ diff --git a/app/src/custom/res/drawable/bg_connected.xml b/app/src/custom/res/drawable/bg_connected.xml deleted file mode 100644 index f851203d..00000000 --- a/app/src/custom/res/drawable/bg_connected.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_connected_effect.xml b/app/src/custom/res/drawable/bg_connected_effect.xml deleted file mode 100644 index 75e79573..00000000 --- a/app/src/custom/res/drawable/bg_connected_effect.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_connecting.png b/app/src/custom/res/drawable/bg_connecting.png new file mode 100644 index 00000000..d85ddd4b Binary files /dev/null and b/app/src/custom/res/drawable/bg_connecting.png differ diff --git a/app/src/custom/res/drawable/bg_connecting.xml b/app/src/custom/res/drawable/bg_connecting.xml deleted file mode 100644 index 8482d30e..00000000 --- a/app/src/custom/res/drawable/bg_connecting.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_connecting_effect.xml b/app/src/custom/res/drawable/bg_connecting_effect.xml deleted file mode 100644 index fd462a54..00000000 --- a/app/src/custom/res/drawable/bg_connecting_effect.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_disconnected.png b/app/src/custom/res/drawable/bg_disconnected.png new file mode 100644 index 00000000..029c5d5a Binary files /dev/null and b/app/src/custom/res/drawable/bg_disconnected.png differ diff --git a/app/src/custom/res/drawable/bg_disconnected.xml b/app/src/custom/res/drawable/bg_disconnected.xml deleted file mode 100644 index bfc3c1d1..00000000 --- a/app/src/custom/res/drawable/bg_disconnected.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/bg_disconnected_effect.xml b/app/src/custom/res/drawable/bg_disconnected_effect.xml deleted file mode 100644 index d19c2f7f..00000000 --- a/app/src/custom/res/drawable/bg_disconnected_effect.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/ic_motd.png b/app/src/custom/res/drawable/ic_motd.png new file mode 100644 index 00000000..5d2efea4 Binary files /dev/null and b/app/src/custom/res/drawable/ic_motd.png differ diff --git a/app/src/custom/res/drawable/ic_motd.xml b/app/src/custom/res/drawable/ic_motd.xml deleted file mode 100644 index 85c9e58a..00000000 --- a/app/src/custom/res/drawable/ic_motd.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/ravens.xml b/app/src/custom/res/drawable/ravens.xml deleted file mode 100644 index 788aef84..00000000 --- a/app/src/custom/res/drawable/ravens.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/rotate_progress_image.png b/app/src/custom/res/drawable/rotate_progress_image.png new file mode 100644 index 00000000..ca160d00 Binary files /dev/null and b/app/src/custom/res/drawable/rotate_progress_image.png differ diff --git a/app/src/custom/res/drawable/rotate_progress_image.xml b/app/src/custom/res/drawable/rotate_progress_image.xml deleted file mode 100644 index f84f9034..00000000 --- a/app/src/custom/res/drawable/rotate_progress_image.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_connected.png b/app/src/custom/res/drawable/state_connected.png new file mode 100644 index 00000000..0fbb82f2 Binary files /dev/null and b/app/src/custom/res/drawable/state_connected.png differ diff --git a/app/src/custom/res/drawable/state_connected.xml b/app/src/custom/res/drawable/state_connected.xml deleted file mode 100644 index e0a9005f..00000000 --- a/app/src/custom/res/drawable/state_connected.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_connecting.png b/app/src/custom/res/drawable/state_connecting.png new file mode 100644 index 00000000..7d78587e Binary files /dev/null and b/app/src/custom/res/drawable/state_connecting.png differ diff --git a/app/src/custom/res/drawable/state_connecting.xml b/app/src/custom/res/drawable/state_connecting.xml deleted file mode 100644 index 267ba791..00000000 --- a/app/src/custom/res/drawable/state_connecting.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_disconnected.xml b/app/src/custom/res/drawable/state_disconnected.xml index 7c49a537..ee11473d 100644 --- a/app/src/custom/res/drawable/state_disconnected.xml +++ b/app/src/custom/res/drawable/state_disconnected.xml @@ -1,17 +1,6 @@ - - - - - - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/app/src/custom/res/drawable/state_transition_connected_disconnected.xml b/app/src/custom/res/drawable/state_transition_connected_disconnected.xml deleted file mode 100644 index 0496e729..00000000 --- a/app/src/custom/res/drawable/state_transition_connected_disconnected.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3 From 16d41d3df2c2405c9f716675841c53c41fbf8400 Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 6 Dec 2022 04:07:50 +0100 Subject: repeat connecting animation, fade out before restarting --- app/src/custom/res/animator/alpha4.xml | 10 ++++++++++ app/src/custom/res/drawable-anydpi-v24/ravens.xml | 8 +++++--- app/src/custom/res/drawable-anydpi-v24/state_connecting.xml | 3 +++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 app/src/custom/res/animator/alpha4.xml (limited to 'app/src/custom/res') diff --git a/app/src/custom/res/animator/alpha4.xml b/app/src/custom/res/animator/alpha4.xml new file mode 100644 index 00000000..75dc9c78 --- /dev/null +++ b/app/src/custom/res/animator/alpha4.xml @@ -0,0 +1,10 @@ + + + + + diff --git a/app/src/custom/res/drawable-anydpi-v24/ravens.xml b/app/src/custom/res/drawable-anydpi-v24/ravens.xml index 788aef84..a4c3023d 100644 --- a/app/src/custom/res/drawable-anydpi-v24/ravens.xml +++ b/app/src/custom/res/drawable-anydpi-v24/ravens.xml @@ -2,6 +2,8 @@ android:viewportWidth="342" android:viewportHeight="206" android:width="342dp" + android:name="ravens" + android:alpha="1" android:height="206dp"> + android:fillColor="#00000000" /> + android:fillColor="#00000000" /> + android:fillColor="#00000000" /> \ No newline at end of file diff --git a/app/src/custom/res/drawable-anydpi-v24/state_connecting.xml b/app/src/custom/res/drawable-anydpi-v24/state_connecting.xml index 267ba791..77207966 100644 --- a/app/src/custom/res/drawable-anydpi-v24/state_connecting.xml +++ b/app/src/custom/res/drawable-anydpi-v24/state_connecting.xml @@ -2,6 +2,9 @@ + -- cgit v1.2.3