summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Burka <durka42+github@gmail.com>2019-09-14 03:48:18 -0400
committerHarsh Shandilya <msfjarvis@gmail.com>2019-09-14 13:18:18 +0530
commit367e55de3cfb0821898c41413ecdb6d284763081 (patch)
tree24505bb2ebc58e20c279f1da200531953b7c1ca5 /app/src/main/res
parent7062156b1a0f108a146c043ebd483261b79677ec (diff)
add save-and-copy button (#537)
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/ic_done_copy_white_24dp.xml12
-rw-r--r--app/src/main/res/menu/pgp_handler_new_password.xml5
-rw-r--r--app/src/main/res/values/strings.xml1
3 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/ic_done_copy_white_24dp.xml b/app/src/main/res/drawable/ic_done_copy_white_24dp.xml
new file mode 100644
index 00000000..20b3e5da
--- /dev/null
+++ b/app/src/main/res/drawable/ic_done_copy_white_24dp.xml
@@ -0,0 +1,12 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L9,16.2z"/>
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="m11.40827,8.88349l1.33314,0q-0.34816,2.91631 -3.13784,2.91631l0,0q-1.63503,0 -2.52526,-1.23315l0,0q-0.77565,-1.08101 -0.77565,-3.01721l0,0q0,-1.97624 0.86158,-3.13732l0,0q0.85056,-1.14186 2.43932,-1.14186l0,0q2.5495,0 3.0453,2.53836l0,0l-1.30229,0q-0.33274,-1.67195 -1.743,-1.67195l0,0q-1.93691,0 -1.93691,3.41277l0,0q0,3.38395 1.95234,3.38395l0,0q1.65045,0 1.78928,-2.04991l0,0z"/>
+</vector>
diff --git a/app/src/main/res/menu/pgp_handler_new_password.xml b/app/src/main/res/menu/pgp_handler_new_password.xml
index 9c8dd34b..83b58758 100644
--- a/app/src/main/res/menu/pgp_handler_new_password.xml
+++ b/app/src/main/res/menu/pgp_handler_new_password.xml
@@ -12,4 +12,9 @@
pwstore:showAsAction="ifRoom"
android:id="@+id/crypto_confirm_add"
/>
+ <item android:title="@string/crypto_save_and_copy"
+ android:icon="@drawable/ic_done_copy_white_24dp"
+ pwstore:showAsAction="ifRoom"
+ android:id="@+id/crypto_confirm_add_and_copy"
+ />
</menu>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index b6bfb31e..8e54490f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -103,6 +103,7 @@
<string name="crypto_select">Select</string>
<string name="crypto_cancel">Cancel</string>
<string name="crypto_save">Save</string>
+ <string name="crypto_save_and_copy">Save and Copy</string>
<!-- DECRYPT Layout -->
<string name="action_search">Search</string>