From bb878f8a67895b0c83869dfe2d68ea3c6ea5baed Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Sun, 12 Nov 2017 19:14:57 -0800 Subject: [PATCH] Adjust Conversation List toolbar to match RecyclerView alignment --- AndroidManifest.xml | 9 ++-- res/layout/conversation_list_activity.xml | 54 +++++++++++++++++++ res/layout/conversation_list_item_view.xml | 2 + res/values/styles.xml | 4 -- res/values/themes.xml | 26 +++------ .../securesms/ConversationListActivity.java | 14 +++-- .../securesms/components/FromTextView.java | 9 +--- 7 files changed, 80 insertions(+), 38 deletions(-) create mode 100644 res/layout/conversation_list_activity.xml diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9d553cecfa..02ff827803 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -174,10 +174,11 @@ + android:label="@string/app_name" + android:launchMode="singleTask" + android:theme="@style/TextSecure.LightNoActionBar" + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="true" /> + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/conversation_list_item_view.xml b/res/layout/conversation_list_item_view.xml index 9da2dece65..6e74c90326 100644 --- a/res/layout/conversation_list_item_view.xml +++ b/res/layout/conversation_list_item_view.xml @@ -23,6 +23,8 @@ tools:src="@drawable/ic_contact_picture" android:contentDescription="@string/conversation_list_item_view__contact_photo_image" android:layout_marginRight="10dp" + android:layout_marginEnd="10dp" + android:layout_marginStart="14dp" android:layout_marginLeft="14dp" /> @drawable/actionbar_icon - @drawable/actionbar_icon @color/gray95 - @drawable/actionbar_icon @style/ThemeOverlay.AppCompat.Dark @style/ThemeOverlay.AppCompat.Dark @style/TextSecure.TitleTextStyle @@ -55,8 +53,6 @@ parent="@style/Widget.AppCompat.ActionBar"> @color/textsecure_primary 2dp - @drawable/actionbar_icon - @drawable/actionbar_icon @style/ThemeOverlay.AppCompat.Light @style/TextSecure.TitleTextStyle @style/TextSecure.SubtitleTextStyle diff --git a/res/values/themes.xml b/res/values/themes.xml index fb8221e3b8..1371d9c967 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -2,25 +2,20 @@ - -