From b43beaab752f1a1cb72ef3d464ccecfe8da9f593 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Tue, 21 Feb 2017 12:55:44 -0800 Subject: [PATCH] Reduce size of new message divider, adjust style slightly // FREEBIE --- res/drawable/last_seen_divider_text_background.xml | 2 +- res/layout/conversation_item_last_seen.xml | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/res/drawable/last_seen_divider_text_background.xml b/res/drawable/last_seen_divider_text_background.xml index ccf22d1633..ef89bff4ec 100644 --- a/res/drawable/last_seen_divider_text_background.xml +++ b/res/drawable/last_seen_divider_text_background.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/res/layout/conversation_item_last_seen.xml b/res/layout/conversation_item_last_seen.xml index d2dd402e42..daa37f4ec8 100644 --- a/res/layout/conversation_item_last_seen.xml +++ b/res/layout/conversation_item_last_seen.xml @@ -3,8 +3,8 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingTop="10dp" - android:paddingBottom="10dp" + android:paddingTop="5dp" + android:paddingBottom="5dp" android:layout_marginBottom="5dp" android:background="?conversation_item_last_seen_background"> @@ -12,12 +12,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:paddingLeft="6dp" - android:paddingRight="6dp" - android:paddingTop="3dp" - android:paddingBottom="3dp" android:textSize="12sp" - android:padding="12dp" + android:textAllCaps="true" + android:textStyle="bold" android:background="@drawable/last_seen_divider_text_background" tools:text="3 unread messages" /> \ No newline at end of file