summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-12-04 04:08:12 +0100
committercyberta <cyberta@riseup.net>2022-12-04 04:08:12 +0100
commit7bb9d4210d1411294bc2d8152d6d56a5e5f8e207 (patch)
tree0e2ac1c483f2c35f1e41f6221bfc04d46b33a3b7
parente8625b3fb29285d73033efb3aab96263528e270a (diff)
replace vpn state background pngs for Bitmask with vector graphics
-rw-r--r--app/src/normal/res/drawable-hdpi/bg_connected.pngbin190405 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-hdpi/bg_connecting.pngbin236571 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-hdpi/bg_disconnected.pngbin143331 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xhdpi/bg_connected.pngbin319429 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xhdpi/bg_connecting.pngbin400307 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xhdpi/bg_disconnected.pngbin220676 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xxhdpi/bg_connected.pngbin701727 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xxhdpi/bg_connecting.pngbin828368 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xxhdpi/bg_disconnected.pngbin446155 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xxxhdpi/bg_connected.pngbin1228810 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xxxhdpi/bg_connecting.pngbin1489207 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable-xxxhdpi/bg_disconnected.pngbin745847 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable/bg_connected.pngbin90299 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable/bg_connected.xml14
-rw-r--r--app/src/normal/res/drawable/bg_connected_effect.xml44
-rw-r--r--app/src/normal/res/drawable/bg_connecting.pngbin112042 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable/bg_connecting.xml13
-rw-r--r--app/src/normal/res/drawable/bg_connecting_effect.xml44
-rw-r--r--app/src/normal/res/drawable/bg_disconnected.pngbin143331 -> 0 bytes
-rw-r--r--app/src/normal/res/drawable/bg_disconnected.xml13
-rw-r--r--app/src/normal/res/drawable/bg_disconnected_effect.xml33
21 files changed, 161 insertions, 0 deletions
diff --git a/app/src/normal/res/drawable-hdpi/bg_connected.png b/app/src/normal/res/drawable-hdpi/bg_connected.png
deleted file mode 100644
index 0e98f705..00000000
--- a/app/src/normal/res/drawable-hdpi/bg_connected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-hdpi/bg_connecting.png b/app/src/normal/res/drawable-hdpi/bg_connecting.png
deleted file mode 100644
index 24632712..00000000
--- a/app/src/normal/res/drawable-hdpi/bg_connecting.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-hdpi/bg_disconnected.png b/app/src/normal/res/drawable-hdpi/bg_disconnected.png
deleted file mode 100644
index de96be57..00000000
--- a/app/src/normal/res/drawable-hdpi/bg_disconnected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xhdpi/bg_connected.png b/app/src/normal/res/drawable-xhdpi/bg_connected.png
deleted file mode 100644
index 915dff95..00000000
--- a/app/src/normal/res/drawable-xhdpi/bg_connected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xhdpi/bg_connecting.png b/app/src/normal/res/drawable-xhdpi/bg_connecting.png
deleted file mode 100644
index be4469df..00000000
--- a/app/src/normal/res/drawable-xhdpi/bg_connecting.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xhdpi/bg_disconnected.png b/app/src/normal/res/drawable-xhdpi/bg_disconnected.png
deleted file mode 100644
index 433c776f..00000000
--- a/app/src/normal/res/drawable-xhdpi/bg_disconnected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xxhdpi/bg_connected.png b/app/src/normal/res/drawable-xxhdpi/bg_connected.png
deleted file mode 100644
index cd78d865..00000000
--- a/app/src/normal/res/drawable-xxhdpi/bg_connected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xxhdpi/bg_connecting.png b/app/src/normal/res/drawable-xxhdpi/bg_connecting.png
deleted file mode 100644
index 718e102f..00000000
--- a/app/src/normal/res/drawable-xxhdpi/bg_connecting.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xxhdpi/bg_disconnected.png b/app/src/normal/res/drawable-xxhdpi/bg_disconnected.png
deleted file mode 100644
index ffbcdb79..00000000
--- a/app/src/normal/res/drawable-xxhdpi/bg_disconnected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xxxhdpi/bg_connected.png b/app/src/normal/res/drawable-xxxhdpi/bg_connected.png
deleted file mode 100644
index 3c9d97b4..00000000
--- a/app/src/normal/res/drawable-xxxhdpi/bg_connected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xxxhdpi/bg_connecting.png b/app/src/normal/res/drawable-xxxhdpi/bg_connecting.png
deleted file mode 100644
index bff2004c..00000000
--- a/app/src/normal/res/drawable-xxxhdpi/bg_connecting.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable-xxxhdpi/bg_disconnected.png b/app/src/normal/res/drawable-xxxhdpi/bg_disconnected.png
deleted file mode 100644
index 2503f135..00000000
--- a/app/src/normal/res/drawable-xxxhdpi/bg_disconnected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable/bg_connected.png b/app/src/normal/res/drawable/bg_connected.png
deleted file mode 100644
index 6da7878d..00000000
--- a/app/src/normal/res/drawable/bg_connected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable/bg_connected.xml b/app/src/normal/res/drawable/bg_connected.xml
new file mode 100644
index 00000000..19dac103
--- /dev/null
+++ b/app/src/normal/res/drawable/bg_connected.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:gravity="fill">
+ <shape android:shape="rectangle">
+ <solid android:color="@color/bg_running"/>
+ </shape>
+ </item>
+ <item
+ android:top="80dp"
+ android:gravity="fill"
+ android:drawable="@drawable/bg_connected_effect"
+ >
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/normal/res/drawable/bg_connected_effect.xml b/app/src/normal/res/drawable/bg_connected_effect.xml
new file mode 100644
index 00000000..08ef8172
--- /dev/null
+++ b/app/src/normal/res/drawable/bg_connected_effect.xml
@@ -0,0 +1,44 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
+ android:viewportWidth="411"
+ android:viewportHeight="703"
+ android:width="411dp"
+ android:height="703dp">
+ <path
+ android:pathData="M628.549 500.593C751.417 416.034 654.462 61.8767 411.994 -290.44C169.527 -642.756 -126.637 -859.816 -249.505 -775.257C-372.373 -690.697 -275.418 -336.54 -32.9505 15.7764C209.517 368.093 505.681 585.153 628.549 500.593Z">
+ <aapt:attr
+ name="android:fillColor">
+ <gradient
+ android:startX="415.099"
+ android:startY="-19.956"
+ android:endX="685.832"
+ android:endY="373.431"
+ android:tileMode="clamp">
+ <item
+ android:color="#00A6C28A"
+ android:offset="0" />
+ <item
+ android:color="#44669933"
+ android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+ <path
+ android:pathData="M-186.124 473.683C-63.0333 557.917 232.557 340.077 474.094 -12.8776C715.632 -365.832 811.653 -720.244 688.562 -804.479C565.471 -888.714 269.881 -670.874 28.3433 -317.919C-213.195 35.0357 -309.215 389.448 -186.124 473.683Z">
+ <aapt:attr
+ name="android:fillColor">
+ <gradient
+ android:startX="222.826"
+ android:startY="87.2986"
+ android:endX="-46.8688"
+ android:endY="481.398"
+ android:tileMode="clamp">
+ <item
+ android:color="#00A6C28A"
+ android:offset="0" />
+ <item
+ android:color="#44669933"
+ android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+</vector>
diff --git a/app/src/normal/res/drawable/bg_connecting.png b/app/src/normal/res/drawable/bg_connecting.png
deleted file mode 100644
index c371f3f0..00000000
--- a/app/src/normal/res/drawable/bg_connecting.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable/bg_connecting.xml b/app/src/normal/res/drawable/bg_connecting.xml
new file mode 100644
index 00000000..8482d30e
--- /dev/null
+++ b/app/src/normal/res/drawable/bg_connecting.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:gravity="fill">
+ <shape android:shape="rectangle">
+ <solid android:color="@color/bg_connecting"/>
+ </shape>
+ </item>
+ <item android:gravity="fill"
+ android:bottom="80dp"
+ android:drawable="@drawable/bg_connecting_effect"
+ >
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/normal/res/drawable/bg_connecting_effect.xml b/app/src/normal/res/drawable/bg_connecting_effect.xml
new file mode 100644
index 00000000..fd462a54
--- /dev/null
+++ b/app/src/normal/res/drawable/bg_connecting_effect.xml
@@ -0,0 +1,44 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
+ android:viewportWidth="375"
+ android:viewportHeight="629"
+ android:width="375dp"
+ android:height="629dp">
+ <path
+ android:pathData="M96.6338 471.305C226.719 515.286 420.512 289.654 529.484 -32.658C638.456 -354.97 621.341 -651.909 491.256 -695.89C361.172 -739.871 167.378 -514.239 58.4058 -191.927C-50.5662 130.385 -33.4509 427.324 96.6338 471.305Z">
+ <aapt:attr
+ name="android:fillColor">
+ <gradient
+ android:startX="132.695"
+ android:startY="21.7787"
+ android:endX="11.0197"
+ android:endY="381.664"
+ android:tileMode="clamp">
+ <item
+ android:color="#00FFAA33"
+ android:offset="0" />
+ <item
+ android:color="#33FFAA33"
+ android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+ <path
+ android:pathData="M183.501 628.837C313.565 628.837 419.003 353.304 419.003 13.4182C419.003 -326.468 313.565 -602 183.501 -602C53.4376 -602 -52 -326.468 -52 13.4182C-52 353.304 53.4376 628.837 183.501 628.837Z">
+ <aapt:attr
+ name="android:fillColor">
+ <gradient
+ android:startX="183.501"
+ android:startY="255.483"
+ android:endX="183.501"
+ android:endY="634.991"
+ android:tileMode="clamp">
+ <item
+ android:color="#00FFAA33"
+ android:offset="0" />
+ <item
+ android:color="#33FFAA33"
+ android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+</vector> \ No newline at end of file
diff --git a/app/src/normal/res/drawable/bg_disconnected.png b/app/src/normal/res/drawable/bg_disconnected.png
deleted file mode 100644
index de96be57..00000000
--- a/app/src/normal/res/drawable/bg_disconnected.png
+++ /dev/null
Binary files differ
diff --git a/app/src/normal/res/drawable/bg_disconnected.xml b/app/src/normal/res/drawable/bg_disconnected.xml
new file mode 100644
index 00000000..a5729185
--- /dev/null
+++ b/app/src/normal/res/drawable/bg_disconnected.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:gravity="fill">
+ <shape android:shape="rectangle">
+ <solid android:color="@color/bg_disconnected"/>
+ </shape>
+ </item>
+ <item
+ android:gravity="fill"
+ android:drawable="@drawable/bg_disconnected_effect"
+ >
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/normal/res/drawable/bg_disconnected_effect.xml b/app/src/normal/res/drawable/bg_disconnected_effect.xml
new file mode 100644
index 00000000..bcc6064a
--- /dev/null
+++ b/app/src/normal/res/drawable/bg_disconnected_effect.xml
@@ -0,0 +1,33 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
+ android:viewportWidth="375"
+ android:viewportHeight="636"
+ android:width="375dp"
+ android:height="636dp"
+ >
+ <group
+ android:scaleY="0.8"
+ android:scaleX="1.25"
+ android:translateX="-46.875"
+ >
+ <path
+ android:pathData="M183.514 458.837C313.578 458.837 419.016 183.305 419.016 -156.582C419.016 -496.468 313.578 -772 183.514 -772C53.4506 -772 -51.9869 -496.468 -51.9869 -156.582C-51.9869 183.305 53.4506 458.837 183.514 458.837Z">
+ <aapt:attr
+ name="android:fillColor">
+ <gradient
+ android:startX="183.514"
+ android:startY="0"
+ android:endX="183.514"
+ android:endY="212"
+ android:tileMode="clamp">
+ <item
+ android:color="#55D3635C"
+ android:offset="0" />
+ <item
+ android:color="#33AF0909"
+ android:offset="1" />
+ </gradient>
+ </aapt:attr>
+ </path>
+ </group>
+
+</vector> \ No newline at end of file