From 1616e841da215ff4021c22505db778a78ba3ef85 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Mon, 6 Jan 2020 12:07:55 +1100 Subject: [PATCH] Customize main toolbar --- AndroidManifest.xml | 3 +- res/layout/activity_home.xml | 112 +++++++++++++----- res/values/themes.xml | 7 ++ .../loki/redesign/activities/HomeActivity.kt | 30 ++--- .../securesms/recipients/Recipient.java | 4 +- 5 files changed, 103 insertions(+), 53 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 33e189c2be..a492481ea9 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -141,7 +141,8 @@ android:windowSoftInputMode="adjustResize" /> + android:launchMode="singleTask" + android:theme="@style/Session.DarkTheme.NoActionBar" /> diff --git a/res/layout/activity_home.xml b/res/layout/activity_home.xml index 26de730f77..a2b5ea939a 100644 --- a/res/layout/activity_home.xml +++ b/res/layout/activity_home.xml @@ -1,43 +1,95 @@ - + android:orientation="vertical" + android:background="@drawable/default_session_background" + xmlns:app="http://schemas.android.com/apk/res-auto"> - + android:layout_height="?attr/actionBarSize" + android:minHeight="?attr/actionBarSize" + app:contentInsetLeft="20dp" + app:contentInsetRight="20dp" + android:theme="?attr/actionBarStyle"> - + + + + + + + + + + + + android:layout_width="match_parent" + android:layout_height="match_parent"> - + -