From e8b9dfe379c17b3d0df39838e57bfb52a98c1fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sat, 18 Jan 2014 21:52:59 +0100 Subject: [PATCH] layout fixes --- .../res/layout/key_list_public_fragment.xml | 6 ++++-- .../res/layout/view_key_activity.xml | 19 ++++++++++++------- .../keychain/ui/widget/FixedListView.java | 6 +++--- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml b/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml index 828809601..f3a21e1bf 100644 --- a/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml +++ b/OpenPGP-Keychain/res/layout/key_list_public_fragment.xml @@ -42,6 +42,7 @@ @@ -50,7 +51,7 @@ android:id="@+id/key_list_empty_button_create" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_margin="10dp" + android:layout_margin="4dp" android:text="@string/key_list_empty_button_create" bootstrapbutton:bb_icon_left="fa-plus" bootstrapbutton:bb_type="default" /> @@ -58,6 +59,7 @@ @@ -66,7 +68,7 @@ android:id="@+id/key_list_empty_button_import" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_margin="10dp" + android:layout_margin="4dp" android:text="@string/key_list_empty_button_import" bootstrapbutton:bb_icon_left="fa-download" bootstrapbutton:bb_type="default" /> diff --git a/OpenPGP-Keychain/res/layout/view_key_activity.xml b/OpenPGP-Keychain/res/layout/view_key_activity.xml index bf49fdfad..6fde11e94 100644 --- a/OpenPGP-Keychain/res/layout/view_key_activity.xml +++ b/OpenPGP-Keychain/res/layout/view_key_activity.xml @@ -14,7 +14,8 @@ style="@style/SectionHeader" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:padding="4dp" + android:layout_marginBottom="4dp" + android:layout_marginTop="14dp" android:text="@string/section_master_user_id" /> * @@ -17,12 +15,14 @@ package org.sufficientlysecure.keychain.ui.widget; * along with this program. If not, see . */ +package org.sufficientlysecure.keychain.ui.widget; + import android.content.Context; import android.util.AttributeSet; import android.widget.ListView; /** - * Automatically calculate height of listview based on contained items. This enables to put this + * Automatically calculate height of ListView based on contained items. This enables to put this * ListView into a ScrollView without messing up. * * from