diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-05-06 19:18:32 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-05-06 19:18:32 +0200 |
commit | e0985878d732674626eee947a8d27c7a9193495c (patch) | |
tree | dfff6765ad9e53a69133ce98eb7e4f923f839ca0 /OpenKeychain/src/main/res/layout/decrypt_result_include.xml | |
parent | 0d05ff98cb7ef992a040e7040c4fc534307e51e8 (diff) | |
download | open-keychain-e0985878d732674626eee947a8d27c7a9193495c.tar.gz open-keychain-e0985878d732674626eee947a8d27c7a9193495c.tar.bz2 open-keychain-e0985878d732674626eee947a8d27c7a9193495c.zip |
ui: use textview buttons in decrypt verify dialogue
Diffstat (limited to 'OpenKeychain/src/main/res/layout/decrypt_result_include.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/decrypt_result_include.xml | 42 |
1 files changed, 29 insertions, 13 deletions
diff --git a/OpenKeychain/src/main/res/layout/decrypt_result_include.xml b/OpenKeychain/src/main/res/layout/decrypt_result_include.xml index 70faa1d80..76b20e75f 100644 --- a/OpenKeychain/src/main/res/layout/decrypt_result_include.xml +++ b/OpenKeychain/src/main/res/layout/decrypt_result_include.xml @@ -11,20 +11,36 @@ android:paddingBottom="4dp" android:background="@color/result_blue"> + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" + android:layout_marginTop="4dp" /> + <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" /> + android:textColor="@color/white" + android:layout_gravity="center_horizontal" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" /> + + <View + android:layout_width="match_parent" + android:layout_height="1dip" + android:background="?android:attr/listDivider" /> <RelativeLayout android:id="@+id/result_signature" android:layout_width="match_parent" android:layout_height="wrap_content" android:clickable="true" - android:orientation="horizontal"> + android:orientation="horizontal" + android:layout_marginBottom="8dp" + android:layout_marginTop="8dp"> <RelativeLayout android:layout_width="wrap_content" @@ -67,17 +83,17 @@ android:layout_toRightOf="@+id/result_signature_image" android:textColor="@color/white" /> - </RelativeLayout> + <com.beardedhen.androidbootstrap.BootstrapButton + android:id="@+id/lookup_key" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/btn_lookup_key" + bootstrapbutton:bb_icon_left="fa-download" + bootstrapbutton:bb_type="info" + bootstrapbutton:bb_size="small" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" /> - <com.beardedhen.androidbootstrap.BootstrapButton - android:id="@+id/lookup_key" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="4dp" - android:layout_marginBottom="4dp" - android:text="@string/btn_lookup_key" - bootstrapbutton:bb_icon_left="fa-download" - bootstrapbutton:bb_type="info" - bootstrapbutton:bb_size="small" /> + </RelativeLayout> </LinearLayout>
\ No newline at end of file |