From 5e001760d62f6bcaa85c9174114c494ce9dcd776 Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Tue, 12 Feb 2013 00:02:21 +0100 Subject: [PATCH] Improved layouts of itemlist items --- res/layout/external_itemlist_item.xml | 4 ++-- res/layout/feeditemlist_header.xml | 4 ++-- res/layout/feeditemlist_item.xml | 19 ++++++++++++++----- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/res/layout/external_itemlist_item.xml b/res/layout/external_itemlist_item.xml index 9f40fcf87..347a75e24 100644 --- a/res/layout/external_itemlist_item.xml +++ b/res/layout/external_itemlist_item.xml @@ -20,8 +20,8 @@ android:clickable="false" android:focusable="false" android:focusableInTouchMode="false" - android:paddingLeft="16dp" - android:paddingRight="16dp" + android:paddingLeft="24dp" + android:paddingRight="8dp" android:paddingTop="16dp" android:scaleType="fitEnd" android:src="?attr/spinner_button" /> diff --git a/res/layout/feeditemlist_header.xml b/res/layout/feeditemlist_header.xml index 581ed76ea..f6ee9afe4 100644 --- a/res/layout/feeditemlist_header.xml +++ b/res/layout/feeditemlist_header.xml @@ -28,8 +28,8 @@ android:clickable="false" android:focusable="false" android:focusableInTouchMode="false" - android:paddingLeft="16dp" - android:paddingRight="16dp" + android:paddingLeft="24dp" + android:paddingRight="8dp" android:paddingTop="16dp" android:scaleType="fitEnd" android:src="?attr/spinner_button" /> diff --git a/res/layout/feeditemlist_item.xml b/res/layout/feeditemlist_item.xml index 7918c1361..1b9ebaaab 100644 --- a/res/layout/feeditemlist_item.xml +++ b/res/layout/feeditemlist_item.xml @@ -22,7 +22,11 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="4dp" + android:layout_marginTop="4dp" + android:maxLines="2" + android:ellipsize="end" android:layout_toLeftOf="@+id/butAction" + android:textColor="?android:attr/textColorPrimary" android:textSize="@dimen/text_size_medium" /> + android:textColor="?android:attr/textColorTertiary" + android:textSize="@dimen/text_size_micro" /> + android:maxLines="2" + android:textColor="?android:attr/textColorTertiary" + android:textSize="@dimen/text_size_micro" />