From 8a2ffd8f90e9653ed69f945a94f6b9702dbdfff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Mon, 19 May 2014 00:10:34 +0200 Subject: Layout fixes for key import --- .../src/main/res/layout/import_keys_activity.xml | 15 +++--- .../res/layout/import_keys_clipboard_fragment.xml | 4 +- .../main/res/layout/import_keys_file_fragment.xml | 6 ++- .../res/layout/import_keys_keybase_fragment.xml | 63 +++++++++------------- .../src/main/res/layout/import_keys_list_entry.xml | 6 +-- .../main/res/layout/import_keys_nfc_fragment.xml | 8 +-- .../res/layout/import_keys_qr_code_fragment.xml | 15 +++--- .../res/layout/import_keys_server_fragment.xml | 6 ++- .../src/main/res/layout/view_key_userids_item.xml | 1 - 9 files changed, 58 insertions(+), 66 deletions(-) (limited to 'OpenKeychain/src/main') diff --git a/OpenKeychain/src/main/res/layout/import_keys_activity.xml b/OpenKeychain/src/main/res/layout/import_keys_activity.xml index 876374700..2a332823e 100644 --- a/OpenKeychain/src/main/res/layout/import_keys_activity.xml +++ b/OpenKeychain/src/main/res/layout/import_keys_activity.xml @@ -1,20 +1,16 @@ + android:layout_width="match_parent" + android:layout_height="match_parent"> + android:orientation="vertical" /> + android:paddingTop="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" /> \ No newline at end of file diff --git a/OpenKeychain/src/main/res/layout/import_keys_clipboard_fragment.xml b/OpenKeychain/src/main/res/layout/import_keys_clipboard_fragment.xml index 046768495..739c34fba 100644 --- a/OpenKeychain/src/main/res/layout/import_keys_clipboard_fragment.xml +++ b/OpenKeychain/src/main/res/layout/import_keys_clipboard_fragment.xml @@ -3,13 +3,15 @@ xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" + android:paddingTop="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:orientation="horizontal" > + android:paddingTop="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:orientation="horizontal"> - - - - - + - \ No newline at end of file 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 f5ec71abe..c91335a5b 100644 --- a/OpenKeychain/src/main/res/layout/import_keys_list_entry.xml +++ b/OpenKeychain/src/main/res/layout/import_keys_list_entry.xml @@ -25,8 +25,7 @@ android:id="@+id/selected" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_marginLeft="4dp" - android:layout_marginRight="4dp" + android:paddingRight="8dp" android:clickable="false" android:focusable="false" android:focusableInTouchMode="false" /> @@ -46,8 +45,7 @@ android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="1" - android:orientation="vertical" - android:paddingRight="4dip"> + android:orientation="vertical"> + android:paddingTop="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:orientation="horizontal"> + android:paddingTop="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:orientation="vertical"> diff --git a/OpenKeychain/src/main/res/layout/import_keys_server_fragment.xml b/OpenKeychain/src/main/res/layout/import_keys_server_fragment.xml index 2438dd785..e17dbe783 100644 --- a/OpenKeychain/src/main/res/layout/import_keys_server_fragment.xml +++ b/OpenKeychain/src/main/res/layout/import_keys_server_fragment.xml @@ -2,7 +2,9 @@ xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:padding="10dp" + android:paddingTop="8dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" android:orientation="vertical">