From 72ef724b6cda6475ba9d3f9766a813c2be92c5d7 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 23 Apr 2022 09:29:56 +0200 Subject: [PATCH] Debug: show if raw --- .../java/eu/faircode/email/AdapterMessage.java | 4 ++++ app/src/main/res/drawable/twotone_raw_on_24.xml | 16 ++++++++++++++++ .../res/layout/include_message_addresses.xml | 11 ++++++++++- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/twotone_raw_on_24.xml diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 530d693bde..a6b8a37f09 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -369,6 +369,7 @@ public class AdapterMessage extends RecyclerView.Adapter 0 || tos > 0) && !button_search ? View.VISIBLE : View.GONE); diff --git a/app/src/main/res/drawable/twotone_raw_on_24.xml b/app/src/main/res/drawable/twotone_raw_on_24.xml new file mode 100644 index 0000000000..5f73dbd50c --- /dev/null +++ b/app/src/main/res/drawable/twotone_raw_on_24.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/app/src/main/res/layout/include_message_addresses.xml b/app/src/main/res/layout/include_message_addresses.xml index 8565001668..fbe7f3db5a 100644 --- a/app/src/main/res/layout/include_message_addresses.xml +++ b/app/src/main/res/layout/include_message_addresses.xml @@ -67,6 +67,15 @@ app:layout_constraintTop_toBottomOf="@id/ibExpanderAddress" app:srcCompat="@drawable/twotone_playlist_add_24" /> + + + app:constraint_referenced_ids="ivPlain,ibReceipt,ivAutoSubmitted,ivBrowsed,ivRaw,ibSearchContact,ibNotifyContact,ibPinContact,ibAddContact" />