summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-09-17 14:22:46 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-09-25 11:43:22 +0000
commit5360390b19e0e0add7cef8e24afa586bda866813 (patch)
treedfec9496a609aa70f9db88c1588e495d5d1fa2b5 /android/src
parent0cbe55dec2dab2d5df4b4d0beab519a58d47a430 (diff)
downloadmullvadvpn-5360390b19e0e0add7cef8e24afa586bda866813.tar.xz
mullvadvpn-5360390b19e0e0add7cef8e24afa586bda866813.zip
Create drawables for the remove button
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/res/drawable/account_history_remove.xml8
-rw-r--r--android/src/main/res/drawable/account_history_remove_normal.xml38
-rw-r--r--android/src/main/res/drawable/account_history_remove_pressed.xml38
3 files changed, 84 insertions, 0 deletions
diff --git a/android/src/main/res/drawable/account_history_remove.xml b/android/src/main/res/drawable/account_history_remove.xml
new file mode 100644
index 0000000000..6c7f52fcba
--- /dev/null
+++ b/android/src/main/res/drawable/account_history_remove.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <item android:state_pressed="false"
+ android:drawable="@drawable/account_history_remove_normal" />
+ <item android:state_pressed="true"
+ android:drawable="@drawable/account_history_remove_pressed" />
+</selector>
diff --git a/android/src/main/res/drawable/account_history_remove_normal.xml b/android/src/main/res/drawable/account_history_remove_normal.xml
new file mode 100644
index 0000000000..532d6cd9d7
--- /dev/null
+++ b/android/src/main/res/drawable/account_history_remove_normal.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="16dp"
+ android:height="16dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path android:fillColor="#66294D73"
+ android:pathData="
+ M 12,24
+ C 5.37312,24 0,18.62688 0,12
+ C 0,5.37312 5.37312,0 12,0
+ C 18.62688,0 24,5.37312 24,12
+ C 24,18.62688 18.62688,24 12,24
+ Z
+ M 13.5,12
+ L 17.2947612,8.20523878
+ C 17.6857559,7.81424414 17.6838785,7.18387854 17.293923,6.79392296
+ L 17.206077,6.70607704
+ C 16.8181114,6.31811142 16.1842538,6.31574616 15.7947612,6.70523878
+ L 12,10.5
+ L 8.20523878,6.70523878
+ C 7.81574616,6.31574616 7.18188858,6.31811142 6.79392296,6.70607704
+ L 6.70607704,6.79392296
+ C 6.31612146,7.18387854 6.31424414,7.81424414 6.70523878,8.20523878
+ L 10.5,12
+ L 6.70523878,15.7947612
+ C 6.31424414,16.1857559 6.31612146,16.8161215 6.70607704,17.206077
+ L 6.79392296,17.293923
+ C 7.18188858,17.6818886 7.81574616,17.6842538 8.20523878,17.2947612
+ L 12,13.5
+ L 15.7947612,17.2947612
+ C 16.1842538,17.6842538 16.8181114,17.6818886 17.206077,17.293923
+ L 17.293923,17.206077
+ C 17.6838785,16.8161215 17.6857559,16.1857559 17.2947612,15.7947612
+ L 13.5,12
+ L13.5,12
+ Z" />
+</vector>
diff --git a/android/src/main/res/drawable/account_history_remove_pressed.xml b/android/src/main/res/drawable/account_history_remove_pressed.xml
new file mode 100644
index 0000000000..49d3484460
--- /dev/null
+++ b/android/src/main/res/drawable/account_history_remove_pressed.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="16dp"
+ android:height="16dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path android:fillColor="#FF294D73"
+ android:pathData="
+ M 12,24
+ C 5.37312,24 0,18.62688 0,12
+ C 0,5.37312 5.37312,0 12,0
+ C 18.62688,0 24,5.37312 24,12
+ C 24,18.62688 18.62688,24 12,24
+ Z
+ M 13.5,12
+ L 17.2947612,8.20523878
+ C 17.6857559,7.81424414 17.6838785,7.18387854 17.293923,6.79392296
+ L 17.206077,6.70607704
+ C 16.8181114,6.31811142 16.1842538,6.31574616 15.7947612,6.70523878
+ L 12,10.5
+ L 8.20523878,6.70523878
+ C 7.81574616,6.31574616 7.18188858,6.31811142 6.79392296,6.70607704
+ L 6.70607704,6.79392296
+ C 6.31612146,7.18387854 6.31424414,7.81424414 6.70523878,8.20523878
+ L 10.5,12
+ L 6.70523878,15.7947612
+ C 6.31424414,16.1857559 6.31612146,16.8161215 6.70607704,17.206077
+ L 6.79392296,17.293923
+ C 7.18188858,17.6818886 7.81574616,17.6842538 8.20523878,17.2947612
+ L 12,13.5
+ L 15.7947612,17.2947612
+ C 16.1842538,17.6842538 16.8181114,17.6818886 17.206077,17.293923
+ L 17.293923,17.206077
+ C 17.6838785,16.8161215 17.6857559,16.1857559 17.2947612,15.7947612
+ L 13.5,12
+ L13.5,12
+ Z" />
+</vector>