From fe16a90741bb076cd0c3b63c17ddfa7de65da325 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Wed, 24 Jul 2019 10:09:02 +1000 Subject: [PATCH] Clean up splash screen --- res/layout/contact_selection_list_item.xml | 4 ++-- res/layout/create_passphrase_activity.xml | 9 +++++---- res/layout/prompt_passphrase_activity.xml | 4 ++-- .../securesms/contacts/ContactsCursorLoader.java | 4 ++++ 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/res/layout/contact_selection_list_item.xml b/res/layout/contact_selection_list_item.xml index bda73818ad..e94d8ecead 100644 --- a/res/layout/contact_selection_list_item.xml +++ b/res/layout/contact_selection_list_item.xml @@ -9,8 +9,8 @@ android:gravity="center_vertical" android:focusable="true" android:background="@drawable/conversation_item_background" - android:paddingStart="48dp" - android:paddingEnd="24dp"> + android:paddingStart="16dp" + android:paddingEnd="8dp"> + android:background="@color/loki_darkest_gray"> diff --git a/res/layout/prompt_passphrase_activity.xml b/res/layout/prompt_passphrase_activity.xml index addb8f5fd0..f851233471 100644 --- a/res/layout/prompt_passphrase_activity.xml +++ b/res/layout/prompt_passphrase_activity.xml @@ -30,8 +30,8 @@ diff --git a/src/org/thoughtcrime/securesms/contacts/ContactsCursorLoader.java b/src/org/thoughtcrime/securesms/contacts/ContactsCursorLoader.java index 4045faf679..49f456b512 100644 --- a/src/org/thoughtcrime/securesms/contacts/ContactsCursorLoader.java +++ b/src/org/thoughtcrime/securesms/contacts/ContactsCursorLoader.java @@ -132,21 +132,25 @@ public class ContactsCursorLoader extends CursorLoader { private Cursor getRecentsHeaderCursor() { MatrixCursor recentsHeader = new MatrixCursor(CONTACT_PROJECTION); + /* recentsHeader.addRow(new Object[]{ getContext().getString(R.string.ContactsCursorLoader_recent_chats), "", ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE, "", ContactsDatabase.DIVIDER_TYPE }); + */ return recentsHeader; } private Cursor getContactsHeaderCursor() { MatrixCursor contactsHeader = new MatrixCursor(CONTACT_PROJECTION, 1); + /* contactsHeader.addRow(new Object[] { getContext().getString(R.string.ContactsCursorLoader_contacts), "", ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE, "", ContactsDatabase.DIVIDER_TYPE }); + */ return contactsHeader; }