aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain-API-Demo/res
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2013-09-06 13:52:57 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2013-09-06 13:52:57 +0200
commitde8e1a39d59e1a0f40e173ba3c28e4250d1a48ef (patch)
tree5cbc34684c63888d3e8e775ad35f79d498908cb7 /OpenPGP-Keychain-API-Demo/res
parentb9eaf235621ff59a661b45b20ac1106f42ee4be5 (diff)
parent3a66c1c25aff1dadf4779c2df0fac04f3a9f3c0a (diff)
downloadopen-keychain-de8e1a39d59e1a0f40e173ba3c28e4250d1a48ef.tar.gz
open-keychain-de8e1a39d59e1a0f40e173ba3c28e4250d1a48ef.tar.bz2
open-keychain-de8e1a39d59e1a0f40e173ba3c28e4250d1a48ef.zip
merge k9mail back into master
Diffstat (limited to 'OpenPGP-Keychain-API-Demo/res')
-rw-r--r--OpenPGP-Keychain-API-Demo/res/layout/crypto_provider_demo.xml61
1 files changed, 34 insertions, 27 deletions
diff --git a/OpenPGP-Keychain-API-Demo/res/layout/crypto_provider_demo.xml b/OpenPGP-Keychain-API-Demo/res/layout/crypto_provider_demo.xml
index 447734a52..af1e345d6 100644
--- a/OpenPGP-Keychain-API-Demo/res/layout/crypto_provider_demo.xml
+++ b/OpenPGP-Keychain-API-Demo/res/layout/crypto_provider_demo.xml
@@ -8,65 +8,72 @@
android:layout_height="match_parent"
android:orientation="vertical" >
- <Button
- android:id="@+id/crypto_provider_demo_register"
- android:layout_width="match_parent"
+ <TextView
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:onClick="registerCryptoProvider"
- android:text="Register crypto provider" />
+ android:text="Encrypt User Id"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
- <Button
- android:id="@+id/aidl_demo_select_secret_key"
+ <EditText
+ android:id="@+id/crypto_provider_demo_encrypt_user_id"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:onClick="selectSecretKeyOnClick"
- android:text="Select secret key" />
+ android:text="dominik@dominikschuermann.de"
+ android:textAppearance="@android:style/TextAppearance.Small" />
- <Button
- android:id="@+id/aidl_demo_select_encryption_key"
- android:layout_width="match_parent"
+ <TextView
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:onClick="selectEncryptionKeysOnClick"
- android:text="Select encryption key(s)" />
+ android:text="Message"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
- android:id="@+id/aidl_demo_message"
+ android:id="@+id/crypto_provider_demo_message"
android:layout_width="match_parent"
android:layout_height="150dip"
android:text="message"
android:textAppearance="@android:style/TextAppearance.Small" />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Ciphertext"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
<EditText
- android:id="@+id/aidl_demo_ciphertext"
+ android:id="@+id/crypto_provider_demo_ciphertext"
android:layout_width="match_parent"
android:layout_height="150dip"
android:text="ciphertext"
android:textAppearance="@android:style/TextAppearance.Small" />
<Button
- android:id="@+id/aidl_demo_encrypt"
+ android:id="@+id/crypto_provider_demo_encrypt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="encryptOnClick"
android:text="Encrypt" />
<Button
- android:id="@+id/aidl_demo_decrypt"
+ android:id="@+id/crypto_provider_demo_sign"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:onClick="decryptOnClick"
- android:text="Decrypt" />
+ android:onClick="signOnClick"
+ android:text="Sign" />
- <TextView
+ <Button
+ android:id="@+id/crypto_provider_demo_encrypt_and_sign"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="APG Data:" />
+ android:layout_height="wrap_content"
+ android:onClick="encryptAndSignOnClick"
+ android:text="Encrypt and Sign" />
- <TextView
- android:id="@+id/aidl_demo_data"
+ <Button
+ android:id="@+id/crypto_provider_demo_decrypt"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:minLines="10" />
+ android:layout_height="wrap_content"
+ android:onClick="decryptOnClick"
+ android:text="Decrypt" />
</LinearLayout>
</ScrollView> \ No newline at end of file