From b5c16e24468afc24db20764acf56f2574ac424e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Fri, 11 Apr 2014 16:00:37 +0200 Subject: Prettify more layouts --- .../src/main/res/layout/import_keys_list_entry.xml | 136 ++++++++++----------- OpenKeychain/src/main/res/layout/key_list_item.xml | 2 +- .../src/main/res/layout/select_key_item.xml | 51 ++++---- 3 files changed, 92 insertions(+), 97 deletions(-) (limited to 'OpenKeychain/src/main/res') diff --git a/OpenKeychain/src/main/res/layout/import_keys_list_entry.xml b/OpenKeychain/src/main/res/layout/import_keys_list_entry.xml index 123104a4d..7630e30d0 100644 --- a/OpenKeychain/src/main/res/layout/import_keys_list_entry.xml +++ b/OpenKeychain/src/main/res/layout/import_keys_list_entry.xml @@ -17,94 +17,90 @@ + android:singleLine="true"> + + + + + android:layout_weight="1" + android:orientation="vertical" + android:paddingLeft="5dip" + android:paddingRight="5dip"> - - + android:text="Alice" + android:textAppearance="?android:attr/textAppearanceMedium" /> - - - - - - + android:text="alice@example.com" + android:textAppearance="?android:attr/textAppearanceSmall" /> - - + android:layout_marginLeft="36dip" + android:orientation="vertical" /> - - - + - - + + android:gravity="right" + android:minWidth="90dip" + android:orientation="vertical" + android:paddingLeft="3dip"> + + + + diff --git a/OpenKeychain/src/main/res/layout/key_list_item.xml b/OpenKeychain/src/main/res/layout/key_list_item.xml index 84ad9f9b5..940181306 100644 --- a/OpenKeychain/src/main/res/layout/key_list_item.xml +++ b/OpenKeychain/src/main/res/layout/key_list_item.xml @@ -10,7 +10,7 @@ android:focusable="false"> + android:singleLine="true"> @@ -19,46 +20,44 @@ android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical" - android:paddingLeft="5dip" > + android:paddingLeft="5dip" + android:layout_gravity="center_vertical"> - - - - - + android:typeface="monospace" /> + + + \ No newline at end of file -- cgit v1.2.3