diff options
| author | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-09-08 17:04:33 +0200 | 
|---|---|---|
| committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-09-08 17:04:33 +0200 | 
| commit | 4d1d3f6f5ea2eca224965ed3a2f1de5c551453fc (patch) | |
| tree | 3b59394f6fdc4eb331ec318b2a19274ee4f99205 /OpenPGP-Keychain-API-Demo/res/layout | |
| parent | 6fdae001cc5ee742cceaeea82c75f0e314a3449f (diff) | |
| download | open-keychain-4d1d3f6f5ea2eca224965ed3a2f1de5c551453fc.tar.gz open-keychain-4d1d3f6f5ea2eca224965ed3a2f1de5c551453fc.tar.bz2 open-keychain-4d1d3f6f5ea2eca224965ed3a2f1de5c551453fc.zip | |
Select pub key when email could not be found
Diffstat (limited to 'OpenPGP-Keychain-API-Demo/res/layout')
| -rw-r--r-- | OpenPGP-Keychain-API-Demo/res/layout/crypto_provider_demo.xml | 84 | 
1 files changed, 45 insertions, 39 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 af1e345d6..47a8b6520 100644 --- a/OpenPGP-Keychain-API-Demo/res/layout/crypto_provider_demo.xml +++ b/OpenPGP-Keychain-API-Demo/res/layout/crypto_provider_demo.xml @@ -1,56 +1,59 @@  <?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"      android:layout_width="match_parent" -    android:layout_height="wrap_content" > +    android:layout_height="match_parent" +    android:orientation="vertical" > -    <LinearLayout +    <TextView          android:layout_width="match_parent" -        android:layout_height="match_parent" -        android:orientation="vertical" > +        android:layout_height="wrap_content" +        android:text="Encrypt UserIds (split with ',')" +        android:textAppearance="?android:attr/textAppearanceMedium" /> -        <TextView -            android:layout_width="wrap_content" -            android:layout_height="wrap_content" -            android:text="Encrypt User Id" -            android:textAppearance="?android:attr/textAppearanceMedium" /> +    <EditText +        android:id="@+id/crypto_provider_demo_encrypt_user_id" +        android:layout_width="match_parent" +        android:layout_height="wrap_content" +        android:text="dominik@dominikschuermann.de" +        android:textAppearance="@android:style/TextAppearance.Small" /> -        <EditText -            android:id="@+id/crypto_provider_demo_encrypt_user_id" -            android:layout_width="match_parent" -            android:layout_height="wrap_content" -            android:text="dominik@dominikschuermann.de" -            android:textAppearance="@android:style/TextAppearance.Small" /> +    <TextView +        android:layout_width="match_parent" +        android:layout_height="wrap_content" +        android:text="Message" +        android:textAppearance="?android:attr/textAppearanceMedium" /> -        <TextView -            android:layout_width="wrap_content" -            android:layout_height="wrap_content" -            android:text="Message" -            android:textAppearance="?android:attr/textAppearanceMedium" /> +    <EditText +        android:id="@+id/crypto_provider_demo_message" +        android:layout_width="match_parent" +        android:layout_height="150dip" +        android:scrollHorizontally="true" +        android:scrollbars="vertical" +        android:text="message" +        android:textAppearance="@android:style/TextAppearance.Small" /> -        <EditText -            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="match_parent" +        android:layout_height="wrap_content" +        android:text="Ciphertext" +        android:textAppearance="?android:attr/textAppearanceMedium" /> -        <TextView -            android:layout_width="wrap_content" -            android:layout_height="wrap_content" -            android:text="Ciphertext" -            android:textAppearance="?android:attr/textAppearanceMedium" /> +    <EditText +        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" /> -        <EditText -            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" /> +    <LinearLayout +        android:layout_width="wrap_content" +        android:layout_height="wrap_content" >          <Button              android:id="@+id/crypto_provider_demo_encrypt"              android:layout_width="match_parent"              android:layout_height="wrap_content" +            android:layout_weight="1"              android:onClick="encryptOnClick"              android:text="Encrypt" /> @@ -58,6 +61,7 @@              android:id="@+id/crypto_provider_demo_sign"              android:layout_width="match_parent"              android:layout_height="wrap_content" +            android:layout_weight="1"              android:onClick="signOnClick"              android:text="Sign" /> @@ -65,6 +69,7 @@              android:id="@+id/crypto_provider_demo_encrypt_and_sign"              android:layout_width="match_parent"              android:layout_height="wrap_content" +            android:layout_weight="1"              android:onClick="encryptAndSignOnClick"              android:text="Encrypt and Sign" /> @@ -72,8 +77,9 @@              android:id="@+id/crypto_provider_demo_decrypt"              android:layout_width="match_parent"              android:layout_height="wrap_content" +            android:layout_weight="1"              android:onClick="decryptOnClick"              android:text="Decrypt" />      </LinearLayout> -</ScrollView>
\ No newline at end of file +</LinearLayout>
\ No newline at end of file | 
