From b1bfea7699e67d28b9770796524b27ca04d2f96c Mon Sep 17 00:00:00 2001 From: Arne Date: Tue, 6 Dec 2022 09:21:40 +0100 Subject: [PATCH] white actionbar logo horizontal centered --- .../eu/siacs/conversations/ui/ConversationsActivity.java | 2 +- src/main/res/drawable/logo_toolbar_white.xml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/main/res/drawable/logo_toolbar_white.xml diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java index 7d23710c6..b8c785949 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java @@ -953,7 +953,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio actionBar.setDisplayShowTitleEnabled(true); actionBar.setDisplayShowCustomEnabled(false); actionBar.setTitle(null); - actionBar.setIcon(R.drawable.chat_graphic_white); + actionBar.setIcon(R.drawable.logo_toolbar_white); //actionBar.setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.header_background))); actionBar.setSubtitle(null); actionBar.setDisplayHomeAsUpEnabled(false); diff --git a/src/main/res/drawable/logo_toolbar_white.xml b/src/main/res/drawable/logo_toolbar_white.xml new file mode 100644 index 000000000..4780f1219 --- /dev/null +++ b/src/main/res/drawable/logo_toolbar_white.xml @@ -0,0 +1,9 @@ + + + + + + + +