From 350d1f47d3405f490c66d98da33071c06aae566f Mon Sep 17 00:00:00 2001 From: Alan Evans Date: Fri, 24 May 2019 14:31:48 -0300 Subject: [PATCH] Give conversation a standard navigate up button. * Prevent a failing IDE preview. --- res/layout/conversation_activity.xml | 194 ++++++++++-------- res/layout/conversation_title_view.xml | 16 +- .../conversation/ConversationActivity.java | 24 +-- .../conversation/ConversationTitleView.java | 6 - .../securesms/util/ThemeUtil.java | 9 +- 5 files changed, 127 insertions(+), 122 deletions(-) diff --git a/res/layout/conversation_activity.xml b/res/layout/conversation_activity.xml index 4672c4663..7ee9106ff 100644 --- a/res/layout/conversation_activity.xml +++ b/res/layout/conversation_activity.xml @@ -1,108 +1,130 @@ - - - + android:layout_height="?attr/actionBarSize" + android:theme="@style/TextSecure.LightActionBar" + app:contentInsetStartWithNavigation="0dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:navigationIcon="?homeAsUpIndicator" + tools:background="#ff007f00"> - + - + - + - - - - - + android:clipToPadding="false" + android:gravity="bottom" + android:orientation="vertical" + android:paddingTop="?attr/actionBarSize"> - + - + - + -