From 0a14d584e9a384d48425be51c14a65ec81d7e426 Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 25 Jan 2013 12:19:09 +0100 Subject: [PATCH] Add 1px divider between message list and message view in split view --- res/layout/split_message_list.xml | 13 +++++++++++-- src/com/fsck/k9/activity/MessageList.java | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/res/layout/split_message_list.xml b/res/layout/split_message_list.xml index da64b56d7..652fbb55f 100644 --- a/res/layout/split_message_list.xml +++ b/res/layout/split_message_list.xml @@ -1,5 +1,6 @@ + android:layout_weight="5" /> + + + android:layout_weight="3" /> \ No newline at end of file diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index 392510362..54bc7884c 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -235,6 +235,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme break; } case SPLIT_VIEW: { + findViewById(R.id.message_list_divider).setVisibility(View.VISIBLE); if (mMessageViewFragment == null) { showMessageViewPlaceHolder(); }