From 285947eb668d7358c6f0dfd201c3cf63f32db636 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Sat, 30 Sep 2017 08:45:45 -0700 Subject: [PATCH] Show per-member delivery/read status on message info in groups // FREEBIE --- res/layout/message_recipient_list_item.xml | 17 ++- .../securesms/MessageDetailsActivity.java | 69 +++++++---- .../MessageDetailsRecipientAdapter.java | 61 +++++++--- .../securesms/MessageRecipientListItem.java | 83 +++++++------ .../securesms/database/DatabaseFactory.java | 45 ++++--- .../database/GroupReceiptDatabase.java | 112 ++++++++++++++++++ .../securesms/database/MmsDatabase.java | 19 ++- .../securesms/database/MmsSmsDatabase.java | 8 +- .../securesms/jobs/PushDecryptJob.java | 4 +- .../securesms/jobs/PushGroupSendJob.java | 20 ++-- .../securesms/jobs/PushReceivedJob.java | 2 +- 11 files changed, 331 insertions(+), 109 deletions(-) create mode 100644 src/org/thoughtcrime/securesms/database/GroupReceiptDatabase.java diff --git a/res/layout/message_recipient_list_item.xml b/res/layout/message_recipient_list_item.xml index be97f0a5f6..6544c591d3 100644 --- a/res/layout/message_recipient_list_item.xml +++ b/res/layout/message_recipient_list_item.xml @@ -6,14 +6,13 @@ android:gravity="center_vertical" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingLeft="10dp" - android:paddingRight="10dp"> + android:padding="16dp"> @@ -77,7 +77,7 @@ android:drawableLeft="@drawable/ic_error_white_18dp" android:text="@string/message_recipients_list_item__view" android:visibility="gone" - tools:visibility="visible" /> + tools:visibility="gone" />