From 46291d6b3ef5ee9ed2154eb4dfd5becd54d176c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sat, 18 Jan 2014 19:54:27 +0100 Subject: [PATCH] Much more usable sign activity --- .../select_secret_key_layout_fragment.xml | 4 ++ .../res/layout/sign_key_activity.xml | 64 +++++++++++-------- OpenPGP-Keychain/res/values/strings.xml | 6 +- .../ui/SelectSecretKeyLayoutFragment.java | 60 +++++++++-------- .../keychain/ui/SignKeyActivity.java | 61 ++++++++---------- 5 files changed, 105 insertions(+), 90 deletions(-) diff --git a/OpenPGP-Keychain/res/layout/select_secret_key_layout_fragment.xml b/OpenPGP-Keychain/res/layout/select_secret_key_layout_fragment.xml index 7557a2830..11429ea05 100644 --- a/OpenPGP-Keychain/res/layout/select_secret_key_layout_fragment.xml +++ b/OpenPGP-Keychain/res/layout/select_secret_key_layout_fragment.xml @@ -22,12 +22,16 @@ android:orientation="vertical" android:paddingLeft="16dp" > + + diff --git a/OpenPGP-Keychain/res/layout/sign_key_activity.xml b/OpenPGP-Keychain/res/layout/sign_key_activity.xml index ada4572ca..1bb2e6bab 100644 --- a/OpenPGP-Keychain/res/layout/sign_key_activity.xml +++ b/OpenPGP-Keychain/res/layout/sign_key_activity.xml @@ -1,51 +1,61 @@ + android:padding="16dp" > - + - + android:layout_marginBottom="4dp" + android:layout_marginTop="4dp" + tools:layout="@layout/select_secret_key_layout_fragment" /> - + - - + - - - - + android:layout_marginBottom="4dp" + android:layout_marginTop="4dp" + android:enabled="false" /> \ No newline at end of file diff --git a/OpenPGP-Keychain/res/values/strings.xml b/OpenPGP-Keychain/res/values/strings.xml index 190dcfa53..21b834f47 100644 --- a/OpenPGP-Keychain/res/values/strings.xml +++ b/OpenPGP-Keychain/res/values/strings.xml @@ -57,6 +57,8 @@ Master Key Master User ID Actions + Your Key used for Signing + Upload Key Sign (Clipboard) @@ -137,7 +139,7 @@ Name Comment Email - Send Key to Server? + Upload key to selected keyserver after signing Fingerprint Select 1 Selected @@ -222,6 +224,8 @@ This list is empty! Successfully sent key with NFC Beam! Key has been copied to the clipboard! + Key has already been signed! + Please select a key to be used for signing!