From ebfbb9e5b2ce5d3d741baef6c2e0d07507044bcc Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 3 Dec 2008 04:02:54 +0000 Subject: [PATCH] small layout fixes --- res/layout/folder_message_list_child.xml | 6 ++---- src/com/fsck/k9/activity/FolderMessageList.java | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/res/layout/folder_message_list_child.xml b/res/layout/folder_message_list_child.xml index 6242c011a..5caa0303f 100644 --- a/res/layout/folder_message_list_child.xml +++ b/res/layout/folder_message_list_child.xml @@ -19,21 +19,19 @@ android:textAppearance="?android:attr/textAppearanceSmall" android:textSize="11sp" android:textColor="?android:attr/textColorPrimary" - android:layout_width="200px" + android:layout_width="250px" android:layout_height="wrap_content" android:paddingLeft="10px" android:layout_marginRight="1px" /> diff --git a/src/com/fsck/k9/activity/FolderMessageList.java b/src/com/fsck/k9/activity/FolderMessageList.java index 519c5a711..d7b0db808 100644 --- a/src/com/fsck/k9/activity/FolderMessageList.java +++ b/src/com/fsck/k9/activity/FolderMessageList.java @@ -1177,7 +1177,7 @@ public class FolderMessageList extends ExpandableListActivity { holder.from.setText(message.sender); holder.from.setTypeface(null, message.read ? Typeface.NORMAL : Typeface.BOLD); holder.date.setText(message.date); - holder.from.setCompoundDrawablesWithIntrinsicBounds(null, null, + holder.subject.setCompoundDrawablesWithIntrinsicBounds(null, null, message.hasAttachments ? mAttachmentIcon : null, null); // if (folder.outbox) { // holder.status.setText("Sending");