From 90ef6781d40408a7de04f12bb25cc081d9a45dde Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 14 Jan 2011 03:54:04 +0000 Subject: [PATCH] A few pixels here and a few pixels there to add a bit of breathing room to our message listss --- res/layout/message_list_item.xml | 5 ++++- res/layout/message_list_item_touchable.xml | 16 ++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/res/layout/message_list_item.xml b/res/layout/message_list_item.xml index 658fd37a1..49c74a44b 100644 --- a/res/layout/message_list_item.xml +++ b/res/layout/message_list_item.xml @@ -6,6 +6,7 @@ android:orientation="horizontal" android:paddingRight="1dip" android:paddingTop="2dip" + android:paddingBottom="3dip" android:gravity="center_vertical" android:background="#ccc" > @@ -47,9 +48,10 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="1dip" + android:layout_marginBottom="1dip" android:gravity="center_vertical" android:singleLine="true" - android:ellipsize="end" + android:ellipsize="marquee" android:textColor="?android:attr/textColorPrimary" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -88,6 +90,7 @@ android:id="@+id/flagged" android:layout_height="20dip" android:layout_width="20dip" + android:layout_marginLeft="2dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_centerHorizontal="true" diff --git a/res/layout/message_list_item_touchable.xml b/res/layout/message_list_item_touchable.xml index 2dd37dbba..0cf1ad978 100644 --- a/res/layout/message_list_item_touchable.xml +++ b/res/layout/message_list_item_touchable.xml @@ -3,8 +3,9 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:paddingTop="3dip" - android:paddingBottom="3dip" + android:paddingTop="5dip" + android:paddingBottom="5dip" + android:paddingRight="3dip" android:background="#ccc" > @@ -24,7 +25,7 @@ @@ -63,8 +66,9 @@ android:layout_toRightOf="@+id/chip" android:layout_marginLeft="1dip" android:layout_marginRight="1dip" + android:paddingBottom="1dip" android:singleLine="true" - android:ellipsize="end" + android:ellipsize="marquee" android:textColor="?android:attr/textColorPrimary" android:textAppearance="?android:attr/textAppearanceSmall" />