From d4fbaf9397da725489c6b86341d9eb9db6c14bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Wed, 8 Jul 2015 13:25:07 +0200 Subject: Rudimentary backup feature --- .../src/main/res/layout/backup_fragment.xml | 71 ++++++++++++++++++++++ .../res/layout/view_key_adv_share_fragment.xml | 17 ++++++ OpenKeychain/src/main/res/menu/key_list_multi.xml | 20 ++---- OpenKeychain/src/main/res/values/strings.xml | 8 ++- 4 files changed, 99 insertions(+), 17 deletions(-) create mode 100644 OpenKeychain/src/main/res/layout/backup_fragment.xml (limited to 'OpenKeychain/src/main/res') diff --git a/OpenKeychain/src/main/res/layout/backup_fragment.xml b/OpenKeychain/src/main/res/layout/backup_fragment.xml new file mode 100644 index 000000000..96fba954b --- /dev/null +++ b/OpenKeychain/src/main/res/layout/backup_fragment.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OpenKeychain/src/main/res/layout/view_key_adv_share_fragment.xml b/OpenKeychain/src/main/res/layout/view_key_adv_share_fragment.xml index c08d66cc1..d82506e74 100644 --- a/OpenKeychain/src/main/res/layout/view_key_adv_share_fragment.xml +++ b/OpenKeychain/src/main/res/layout/view_key_adv_share_fragment.xml @@ -125,6 +125,23 @@ android:layout_marginTop="8dp" android:background="?android:attr/listDivider" /> + + + + - + - - - - + android:title="@string/menu_delete_key" + tools:ignore="AppCompatResource" /> diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index 9135c24c5..86fcdbf7e 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -96,7 +96,7 @@ "Settings" "Help" - "Export to file" + "Backup to file" "Delete key" "Manage my keys" "Search" @@ -736,6 +736,7 @@ "Open navigation drawer" "Close navigation drawer" "My Keys" + "Backup" "Type text" @@ -1316,6 +1317,11 @@ "Would you like to use this blank YubiKey NEO with OpenKeychain?\n\nPlease take away the YubiKey now, you will be prompted when it is needed again!" "Use this YubiKey" + "Backups that include your own keys must never be shared with other people!" + "All keys + your own keys" + "All keys" + "Backup" + "Certifier" "Certificate Details" -- cgit v1.2.3