From 5a43ff6607db3d6efedb84fe803ebd996e198d0c Mon Sep 17 00:00:00 2001 From: cketti Date: Wed, 23 Nov 2022 19:40:21 +0100 Subject: [PATCH] Fix message header background color --- app/ui/legacy/src/main/res/layout/message_view_header.xml | 2 +- app/ui/legacy/src/main/res/values/attrs.xml | 1 + app/ui/legacy/src/main/res/values/themes.xml | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/ui/legacy/src/main/res/layout/message_view_header.xml b/app/ui/legacy/src/main/res/layout/message_view_header.xml index f70740b09..d64c21e78 100644 --- a/app/ui/legacy/src/main/res/layout/message_view_header.xml +++ b/app/ui/legacy/src/main/res/layout/message_view_header.xml @@ -75,7 +75,7 @@ android:id="@+id/participants_container" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/colorPrimary" + android:background="?attr/messageHeaderBackground" android:clickable="true" android:focusable="true" android:foreground="?attr/selectableItemBackground" diff --git a/app/ui/legacy/src/main/res/values/attrs.xml b/app/ui/legacy/src/main/res/values/attrs.xml index 4c8f7d1c3..9f9dabc62 100644 --- a/app/ui/legacy/src/main/res/values/attrs.xml +++ b/app/ui/legacy/src/main/res/values/attrs.xml @@ -3,6 +3,7 @@ + diff --git a/app/ui/legacy/src/main/res/values/themes.xml b/app/ui/legacy/src/main/res/values/themes.xml index 9fd416197..2a5c4c007 100644 --- a/app/ui/legacy/src/main/res/values/themes.xml +++ b/app/ui/legacy/src/main/res/values/themes.xml @@ -20,6 +20,7 @@ @color/material_blue_800 @color/material_pink_400 @color/material_pink_200 + @color/material_gray_100 @color/material_gray_50 @style/Widget.K9.Toolbar @@ -173,6 +174,7 @@ @color/material_blue_600 @color/material_pink_300 @color/material_pink_500 + @color/material_gray_900 @color/material_gray_900 @style/Widget.K9.Toolbar