summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/ic_action_delete.xml9
-rw-r--r--app/src/main/res/menu/config_list_delete.xml9
-rw-r--r--app/src/main/res/values/strings.xml5
3 files changed, 23 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/ic_action_delete.xml b/app/src/main/res/drawable/ic_action_delete.xml
new file mode 100644
index 00000000..fe6b85f7
--- /dev/null
+++ b/app/src/main/res/drawable/ic_action_delete.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="48dp"
+ android:height="48dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0">
+ <path
+ android:pathData="M6,19c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V7H6v12zM19,4h-3.5l-1,-1h-5l-1,1H5v2h14V4z"
+ android:fillColor="#FFFFFF"/>
+</vector>
diff --git a/app/src/main/res/menu/config_list_delete.xml b/app/src/main/res/menu/config_list_delete.xml
new file mode 100644
index 00000000..7896d522
--- /dev/null
+++ b/app/src/main/res/menu/config_list_delete.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/menu_action_delete"
+ android:alphabeticShortcut="d"
+ android:icon="@drawable/ic_action_delete"
+ android:showAsAction="always"
+ android:title="@string/delete" />
+</menu>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ab82e7fe..bba997e2 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
+ <plurals name="list_delete_title">
+ <item quantity="one">%d configuration selected</item>
+ <item quantity="other">%d configurations selected</item>
+ </plurals>
<string name="app_name">WireGuard</string>
<string name="config_name">Configuration name</string>
<string name="connected">Connected</string>
@@ -19,4 +23,5 @@
<string name="public_key">Public key</string>
<string name="save">Save</string>
<string name="settings">Settings</string>
+ <string name="delete">Delete</string>
</resources>