From 46a9c1e33081b02a6b27f6450b536b81fc84f164 Mon Sep 17 00:00:00 2001 From: tonymanou Date: Wed, 27 Aug 2014 21:32:41 +0200 Subject: [PATCH 1/4] Flatten hierarchy of mainentry --- res/layout/mainentry.xml | 73 ++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 41 deletions(-) diff --git a/res/layout/mainentry.xml b/res/layout/mainentry.xml index 0b9be6912..58c6c1d77 100644 --- a/res/layout/mainentry.xml +++ b/res/layout/mainentry.xml @@ -71,54 +71,45 @@ android:src="?attr/icon_frozen" /> - - - + android:background="@drawable/list_item_pressed" + android:gravity="center_vertical" + android:minHeight="?android:attr/listPreferredItemHeightSmall" + android:textAppearance="?android:attr/textAppearanceSmall" /> - + - + - - + Date: Thu, 28 Aug 2014 01:28:48 +0200 Subject: [PATCH 2/4] Fixed right margin of the main list --- res/layout/mainlist.xml | 2 +- res/values-sw720dp-land/dimens.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/layout/mainlist.xml b/res/layout/mainlist.xml index d0c79df5b..9d14767ba 100644 --- a/res/layout/mainlist.xml +++ b/res/layout/mainlist.xml @@ -195,7 +195,7 @@ android:layout_marginRight="@dimen/activity_horizontal_margin_list" android:layout_marginTop="6dip" android:choiceMode="none" - android:paddingRight="12dip" + android:paddingRight="6dp" android:scrollbarStyle="insideInset" /> 128dp - 106dp + 112dp \ No newline at end of file From c73e4f45190d4178158913fe6e2a809b2d24f8a5 Mon Sep 17 00:00:00 2001 From: tonymanou Date: Thu, 28 Aug 2014 01:31:04 +0200 Subject: [PATCH 3/4] Sligthly reduced padding between the state bar and app's icon --- res/layout/mainentry.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/mainentry.xml b/res/layout/mainentry.xml index 58c6c1d77..8a525e5ee 100644 --- a/res/layout/mainentry.xml +++ b/res/layout/mainentry.xml @@ -17,7 +17,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:paddingLeft="6dip" > + android:paddingLeft="2dp" > Date: Sat, 30 Aug 2014 11:58:53 +0200 Subject: [PATCH 4/4] Fix right padding of details view's list --- res/layout/restrictionlist.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/restrictionlist.xml b/res/layout/restrictionlist.xml index e548f8273..654bac169 100644 --- a/res/layout/restrictionlist.xml +++ b/res/layout/restrictionlist.xml @@ -217,7 +217,7 @@ android:layout_marginRight="@dimen/activity_horizontal_margin_list" android:layout_marginTop="6dip" android:choiceMode="none" - android:paddingRight="12dip" + android:paddingRight="6dp" android:scrollbarStyle="insideInset" />