From 27a1bdb4b920b8804097b0eabeab403d699acc8d Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 24 Jun 2018 16:59:27 +0200 Subject: [PATCH] use tertiary background color for landscape conversation overview --- .../conversations/ui/adapter/ConversationAdapter.java | 7 ++++++- src/main/res/values/attrs.xml | 1 + src/main/res/values/themes.xml | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java index 1700e5fcf..4b2544d26 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java @@ -26,6 +26,7 @@ import eu.siacs.conversations.entities.Conversation; import eu.siacs.conversations.entities.Message; import eu.siacs.conversations.entities.Transferable; import eu.siacs.conversations.ui.ConversationFragment; +import eu.siacs.conversations.ui.ConversationsOverviewFragment; import eu.siacs.conversations.ui.XmppActivity; import eu.siacs.conversations.ui.util.Color; import eu.siacs.conversations.ui.widget.UnreadCountCustomView; @@ -91,7 +92,11 @@ public class ConversationAdapter extends RecyclerView.Adapter + diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index 13f846b23..a1a799902 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -9,6 +9,7 @@ @color/grey50 @color/grey200 + @color/grey300 @color/red_a700 @color/green600 @color/red800 @@ -106,6 +107,7 @@ @color/grey800 @color/grey900 + @color/grey700 @drawable/search_background_dark @drawable/no_results_background_dark @drawable/list_item_background_dark