aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src/main/res
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-04-06 04:35:05 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2014-04-06 04:35:05 +0200
commitd1b0d0fa5e3a49337af53ea86c779c72e4db8567 (patch)
treed3889b719fd84b2a66e2e2323c80ba0fd0d93ba0 /OpenPGP-Keychain/src/main/res
parent456a634149d0eecb00f6d7e0053a71f1b19538b6 (diff)
parent22a6bfb98580f541010681712d126d0cc8dd2834 (diff)
downloadopen-keychain-d1b0d0fa5e3a49337af53ea86c779c72e4db8567.tar.gz
open-keychain-d1b0d0fa5e3a49337af53ea86c779c72e4db8567.tar.bz2
open-keychain-d1b0d0fa5e3a49337af53ea86c779c72e4db8567.zip
Merge remote-tracking branch 'origin/master' into certs
Conflicts: OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java
Diffstat (limited to 'OpenPGP-Keychain/src/main/res')
-rw-r--r--OpenPGP-Keychain/src/main/res/drawable-hdpi/ic_action_cloud.pngbin0 -> 450 bytes
-rw-r--r--OpenPGP-Keychain/src/main/res/drawable-mdpi/ic_action_cloud.pngbin0 -> 335 bytes
-rw-r--r--OpenPGP-Keychain/src/main/res/drawable-xhdpi/ic_action_cloud.pngbin0 -> 538 bytes
-rw-r--r--OpenPGP-Keychain/src/main/res/drawable-xxhdpi/ic_action_cloud.pngbin0 -> 760 bytes
-rw-r--r--OpenPGP-Keychain/src/main/res/layout/view_key_main_fragment.xml3
-rw-r--r--OpenPGP-Keychain/src/main/res/menu/key_edit.xml24
-rw-r--r--OpenPGP-Keychain/src/main/res/menu/key_list.xml35
-rw-r--r--OpenPGP-Keychain/src/main/res/menu/key_list_multi.xml3
-rw-r--r--OpenPGP-Keychain/src/main/res/menu/key_view.xml13
-rw-r--r--OpenPGP-Keychain/src/main/res/values/strings.xml4
10 files changed, 27 insertions, 55 deletions
diff --git a/OpenPGP-Keychain/src/main/res/drawable-hdpi/ic_action_cloud.png b/OpenPGP-Keychain/src/main/res/drawable-hdpi/ic_action_cloud.png
new file mode 100644
index 000000000..3daa64131
--- /dev/null
+++ b/OpenPGP-Keychain/src/main/res/drawable-hdpi/ic_action_cloud.png
Binary files differ
diff --git a/OpenPGP-Keychain/src/main/res/drawable-mdpi/ic_action_cloud.png b/OpenPGP-Keychain/src/main/res/drawable-mdpi/ic_action_cloud.png
new file mode 100644
index 000000000..266d4c21f
--- /dev/null
+++ b/OpenPGP-Keychain/src/main/res/drawable-mdpi/ic_action_cloud.png
Binary files differ
diff --git a/OpenPGP-Keychain/src/main/res/drawable-xhdpi/ic_action_cloud.png b/OpenPGP-Keychain/src/main/res/drawable-xhdpi/ic_action_cloud.png
new file mode 100644
index 000000000..0769899fd
--- /dev/null
+++ b/OpenPGP-Keychain/src/main/res/drawable-xhdpi/ic_action_cloud.png
Binary files differ
diff --git a/OpenPGP-Keychain/src/main/res/drawable-xxhdpi/ic_action_cloud.png b/OpenPGP-Keychain/src/main/res/drawable-xxhdpi/ic_action_cloud.png
new file mode 100644
index 000000000..f97084dbe
--- /dev/null
+++ b/OpenPGP-Keychain/src/main/res/drawable-xxhdpi/ic_action_cloud.png
Binary files differ
diff --git a/OpenPGP-Keychain/src/main/res/layout/view_key_main_fragment.xml b/OpenPGP-Keychain/src/main/res/layout/view_key_main_fragment.xml
index aa48252ce..e3448c39f 100644
--- a/OpenPGP-Keychain/src/main/res/layout/view_key_main_fragment.xml
+++ b/OpenPGP-Keychain/src/main/res/layout/view_key_main_fragment.xml
@@ -192,8 +192,7 @@
<TextView
android:id="@+id/secret_key"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:typeface="monospace" />
+ android:layout_height="wrap_content" />
</TableRow>
</TableLayout>
diff --git a/OpenPGP-Keychain/src/main/res/menu/key_edit.xml b/OpenPGP-Keychain/src/main/res/menu/key_edit.xml
deleted file mode 100644
index f9f7f8f0a..000000000
--- a/OpenPGP-Keychain/src/main/res/menu/key_edit.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<menu xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto">
-
- <item
- android:id="@+id/menu_key_edit_save"
- android:icon="@drawable/ic_action_save"
- app:showAsAction="always"
- android:title="@string/btn_save">
- </item>
- <item
- android:id="@+id/menu_key_edit_export_file"
- app:showAsAction="never"
- android:title="@string/menu_export_key" />
- <item
- android:id="@+id/menu_key_edit_delete"
- app:showAsAction="never"
- android:title="@string/menu_delete_key" />
- <item
- android:id="@+id/menu_key_edit_cancel"
- app:showAsAction="never"
- android:title="@string/menu_key_edit_cancel" />
-
-</menu> \ No newline at end of file
diff --git a/OpenPGP-Keychain/src/main/res/menu/key_list.xml b/OpenPGP-Keychain/src/main/res/menu/key_list.xml
index b75f4e9a6..3f80b616d 100644
--- a/OpenPGP-Keychain/src/main/res/menu/key_list.xml
+++ b/OpenPGP-Keychain/src/main/res/menu/key_list.xml
@@ -2,7 +2,6 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
-
<item
android:id="@+id/menu_key_list_search"
android:title="@string/menu_search"
@@ -11,33 +10,25 @@
app:showAsAction="collapseActionView|ifRoom" />
<item
- android:id="@+id/menu_key_list_add"
+ android:id="@+id/menu_key_list_import"
app:showAsAction="ifRoom|withText"
android:icon="@drawable/ic_action_add_person"
- android:title="@string/menu_add_keys">
- <menu>
- <item
- android:id="@+id/menu_key_list_import"
- app:showAsAction="never"
- android:title="@string/menu_import" />
-
- <item
- android:id="@+id/menu_key_list_create"
- app:showAsAction="never"
- android:title="@string/menu_create_key" />
-
- <item
- android:id="@+id/menu_key_list_create_expert"
- app:showAsAction="never"
- android:title="@string/menu_create_key_expert" />
- </menu>
- </item>
+ android:title="@string/menu_add_keys" />
<item
android:id="@+id/menu_key_list_export"
app:showAsAction="ifRoom|withText"
android:icon="@drawable/ic_action_import_export"
- android:title="@string/menu_export_keys">
- </item>
+ android:title="@string/menu_export_all_keys" />
+
+ <item
+ android:id="@+id/menu_key_list_create"
+ app:showAsAction="never"
+ android:title="@string/menu_create_key" />
+
+ <item
+ android:id="@+id/menu_key_list_create_expert"
+ app:showAsAction="never"
+ android:title="@string/menu_create_key_expert" />
</menu>
diff --git a/OpenPGP-Keychain/src/main/res/menu/key_list_multi.xml b/OpenPGP-Keychain/src/main/res/menu/key_list_multi.xml
index 50f83026c..087521177 100644
--- a/OpenPGP-Keychain/src/main/res/menu/key_list_multi.xml
+++ b/OpenPGP-Keychain/src/main/res/menu/key_list_multi.xml
@@ -5,14 +5,17 @@
android:id="@+id/menu_key_list_multi_export"
android:icon="@drawable/ic_action_import_export"
android:title="@string/menu_export_key" />
+
<item
android:id="@+id/menu_key_list_multi_encrypt"
android:icon="@drawable/ic_action_secure"
android:title="@string/menu_encrypt_to" />
+
<item
android:id="@+id/menu_key_list_multi_delete"
android:icon="@drawable/ic_action_discard"
android:title="@string/menu_delete_key" />
+
<item
android:id="@+id/menu_key_list_multi_select_all"
android:icon="@drawable/ic_action_select_all"
diff --git a/OpenPGP-Keychain/src/main/res/menu/key_view.xml b/OpenPGP-Keychain/src/main/res/menu/key_view.xml
index 105368cbb..2f5697a0f 100644
--- a/OpenPGP-Keychain/src/main/res/menu/key_view.xml
+++ b/OpenPGP-Keychain/src/main/res/menu/key_view.xml
@@ -5,7 +5,7 @@
<item
android:id="@+id/menu_key_view_share"
android:icon="@drawable/ic_action_share"
- app:showAsAction="ifRoom"
+ app:showAsAction="always"
android:title="@string/menu_share">
<menu>
<item
@@ -48,9 +48,10 @@
</item>
</menu>
</item>
+
<item
android:id="@+id/menu_key_keyserver"
- android:icon="@drawable/ic_action_import_export"
+ android:icon="@drawable/ic_action_cloud"
app:showAsAction="always"
android:title="@string/menu_key_server">
<menu>
@@ -64,13 +65,17 @@
android:title="@string/menu_export_key_to_server" />
</menu>
</item>
+
<item
android:id="@+id/menu_key_view_export_file"
- app:showAsAction="never"
+ android:icon="@drawable/ic_action_import_export"
+ app:showAsAction="ifRoom"
android:title="@string/menu_export_key" />
+
<item
android:id="@+id/menu_key_view_delete"
- app:showAsAction="never"
+ android:icon="@drawable/ic_action_discard"
+ app:showAsAction="ifRoom"
android:title="@string/menu_delete_key" />
</menu> \ No newline at end of file
diff --git a/OpenPGP-Keychain/src/main/res/values/strings.xml b/OpenPGP-Keychain/src/main/res/values/strings.xml
index 15693401f..6c6d05103 100644
--- a/OpenPGP-Keychain/src/main/res/values/strings.xml
+++ b/OpenPGP-Keychain/src/main/res/values/strings.xml
@@ -78,8 +78,6 @@
<string name="menu_import_from_qr_code">Import from QR Code</string>
<string name="menu_import">Import</string>
<string name="menu_import_from_nfc">Import from NFC</string>
- <string name="menu_export_public_keys">Export all public keys</string>
- <string name="menu_export_secret_keys">Export all secret keys</string>
<string name="menu_export_key">Export to file</string>
<string name="menu_delete_key">Delete key</string>
<string name="menu_create_key">Create key</string>
@@ -104,7 +102,7 @@
<string name="menu_encrypt_to">Encrypt to…</string>
<string name="menu_select_all">Select all</string>
<string name="menu_add_keys">Add keys</string>
- <string name="menu_export_keys">Export keys</string>
+ <string name="menu_export_all_keys">Export all keys</string>
<!-- label -->
<string name="label_sign">Sign</string>