From 22612c08ce208de15e696b317c9d93b6548a3a20 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 28 Jun 2020 14:48:47 +0200 Subject: [PATCH] Added optional message print icon button --- .../eu/faircode/email/AdapterMessage.java | 24 +++++++++++++++---- .../main/res/drawable/baseline_print_24.xml | 10 ++++++++ .../res/layout/include_message_navigation.xml | 14 ++++++++++- app/src/main/res/menu/popup_message_more.xml | 4 ++++ 4 files changed, 47 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/drawable/baseline_print_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 fa5f9038d1..6fad0f8daa 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -412,6 +412,7 @@ public class AdapterMessage extends RecyclerView.Adapter + + diff --git a/app/src/main/res/layout/include_message_navigation.xml b/app/src/main/res/layout/include_message_navigation.xml index d738b779a5..4eef1138ee 100644 --- a/app/src/main/res/layout/include_message_navigation.xml +++ b/app/src/main/res/layout/include_message_navigation.xml @@ -41,7 +41,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginEnd="3dp" - app:constraint_referenced_ids="ibMore,ibInbox,ibJunk,ibTrash,ibArchive,ibMove,ibCopy,ibLabels,ibAnswer,ibUnsubscribe,ibRule,ibUndo" + app:constraint_referenced_ids="ibMore,ibInbox,ibJunk,ibTrash,ibArchive,ibMove,ibCopy,ibLabels,ibAnswer,ibPrint,ibUnsubscribe,ibRule,ibUndo" app:flow_horizontalBias="0" app:flow_horizontalGap="3dp" app:flow_horizontalStyle="packed" @@ -156,6 +156,18 @@ app:srcCompat="@drawable/baseline_reply_24" tools:ignore="MissingConstraints" /> + + +