From 81a8b3fc3bee87a5773ff5ca80f7e68d47eb2fcd Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 17 Feb 2017 21:13:27 +0100 Subject: [PATCH] Tweak message list item layout --- .../layout/message_list_widget_list_item.xml | 56 +++++++++++-------- 1 file changed, 34 insertions(+), 22 deletions(-) diff --git a/k9mail/src/main/res/layout/message_list_widget_list_item.xml b/k9mail/src/main/res/layout/message_list_widget_list_item.xml index c025c52d3..2d6c889c7 100644 --- a/k9mail/src/main/res/layout/message_list_widget_list_item.xml +++ b/k9mail/src/main/res/layout/message_list_widget_list_item.xml @@ -1,20 +1,20 @@ + android:layout_height="wrap_content" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_marginLeft="4dp" + android:layout_marginStart="4dp" + tools:text="25 May" /> + android:visibility="gone" + tools:visibility="visible" /> + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:layout_alignParentTop="true" + android:layout_gravity="start" + android:layout_toLeftOf="@id/attachment" + android:layout_toStartOf="@id/attachment" + android:maxLines="1" + android:ellipsize="end" + android:textSize="16sp" + tools:text="Kinda long subject that should be long enough to exceed the available display space" /> + android:textSize="15sp" + tools:text="Wikipedia" /> + android:maxLines="1" + android:textSize="13sp" + tools:text="Towel Day is celebrated every year on 25 May as a tribute to the author Douglas Adams by his fans." />