diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-15 22:37:36 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-04-15 22:37:36 +0200 |
commit | 14a8586e8c132aa1c217225e1d78b7185af3b7c2 (patch) | |
tree | 45f0ef476dc552453bcfd924eb284b0836cda7d8 /OpenKeychain/src/main/res/layout/decrypt_result_include.xml | |
parent | fcb73f4e24b04ebcf6f139f8aa17d2ce5ed33a78 (diff) | |
download | open-keychain-14a8586e8c132aa1c217225e1d78b7185af3b7c2.tar.gz open-keychain-14a8586e8c132aa1c217225e1d78b7185af3b7c2.tar.bz2 open-keychain-14a8586e8c132aa1c217225e1d78b7185af3b7c2.zip |
Improve verification result display, close #568
Diffstat (limited to 'OpenKeychain/src/main/res/layout/decrypt_result_include.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/decrypt_result_include.xml | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/decrypt_result_include.xml b/OpenKeychain/src/main/res/layout/decrypt_result_include.xml new file mode 100644 index 000000000..6e599807d --- /dev/null +++ b/OpenKeychain/src/main/res/layout/decrypt_result_include.xml @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto" + android:id="@+id/result" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:paddingTop="4dp" + android:paddingBottom="4dp" + android:background="@color/result_blue"> + + <TextView + android:id="@+id/result_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + android:text="result text" + android:textColor="@color/white" /> + + <RelativeLayout + android:id="@+id/result_signature" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:clickable="true" + android:orientation="horizontal"> + + <RelativeLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/result_signature_image"> + + <ImageView + android:id="@+id/ic_signature" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/signed_large" /> + + <ImageView + android:id="@+id/ic_signature_status" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/overlay_error" /> + </RelativeLayout> + + <TextView + android:id="@+id/mainUserId" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="4dp" + android:layout_gravity="left" + android:text="@string/label_main_user_id" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_toRightOf="@+id/result_signature_image" + android:textColor="@color/white" /> + + <TextView + android:id="@+id/mainUserIdRest" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="4dp" + android:layout_gravity="left" + android:text="Main User Id Rest" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_below="@+id/mainUserId" + android:layout_toRightOf="@+id/result_signature_image" + android:textColor="@color/white" /> + + <com.beardedhen.androidbootstrap.BootstrapButton + android:id="@+id/lookup_key" + android:layout_width="wrap_content" + android:layout_height="50dp" + android:padding="4dp" + android:text="@string/btn_lookup_key" + bootstrapbutton:bb_icon_left="fa-download" + bootstrapbutton:bb_type="info" + bootstrapbutton:bb_size="small" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" /> + + </RelativeLayout> + +</LinearLayout>
\ No newline at end of file |