From 8d12244a9c23da0b5146afa418f75a4b7e49747d Mon Sep 17 00:00:00 2001 From: m0viefreak Date: Fri, 2 Mar 2012 05:41:01 +0100 Subject: [PATCH] Message header changes * remove expand/collapse arrows, instead use the background area of the header to toggle * allow expanding of To: and Cc: texts when too long and cut off by clicking on them --- ...xml => message_view_header_background.xml} | 0 res/layout/message_view_header.xml | 50 ++----------------- src/com/fsck/k9/view/MessageHeader.java | 37 ++++++++++---- 3 files changed, 31 insertions(+), 56 deletions(-) rename res/drawable/{separator_area_background.xml => message_view_header_background.xml} (100%) diff --git a/res/drawable/separator_area_background.xml b/res/drawable/message_view_header_background.xml similarity index 100% rename from res/drawable/separator_area_background.xml rename to res/drawable/message_view_header_background.xml diff --git a/res/layout/message_view_header.xml b/res/layout/message_view_header.xml index fe5c486a0..5b4d0d591 100644 --- a/res/layout/message_view_header.xml +++ b/res/layout/message_view_header.xml @@ -17,7 +17,7 @@ android:layout_height="wrap_content" android:stretchColumns="1" android:shrinkColumns="1" - android:background="@color/message_view_header_background"> + android:background="@drawable/message_view_header_background"> @@ -194,51 +194,11 @@ - - - - - - - - - - - - - - - - - + android:layout_height="1.5dp" + android:background="#59000000"/> getAdditionalHeaders(final Message message) throws MessagingException { List additionalHeaders = new LinkedList();