From 0be37baeeebd81bfbc9dd0afb436dd21340628e5 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 17 Feb 2021 11:32:56 +0100 Subject: [PATCH] Added unread shadow option --- .../java/eu/faircode/email/AdapterMessage.java | 8 ++++---- .../java/eu/faircode/email/FragmentOptions.java | 3 ++- .../eu/faircode/email/FragmentOptionsDisplay.java | 15 ++++++++++++++- .../main/res/layout/fragment_options_display.xml | 14 +++++++++++++- app/src/main/res/values/strings.xml | 1 + 5 files changed, 34 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 86dc51a36e..fa93ccb009 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -235,7 +235,7 @@ public class AdapterMessage extends RecyclerView.Adapter 0 ? colorSeparator : Color.TRANSPARENT); if (!Objects.equals(itemView.getTag(), color)) { itemView.setTag(color); @@ -5348,7 +5348,7 @@ public class AdapterMessage extends RecyclerView.Adapter + + + app:layout_constraintTop_toBottomOf="@id/swShadow" /> Show on start screen Use card style instead of tabular style Use beige background when using card style + Use shadow for unread messages when using card style Group by date Conversation threading Show number of unread messages in conversations