From 4fd89178cd8274011cc07ec9ac3951ee41b71ea6 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 17 Aug 2021 21:31:19 +0200 Subject: [PATCH] Added message more menu dividers --- .../eu/faircode/email/AdapterMessage.java | 51 ++-- app/src/main/res/layout/dialog_buttons.xml | 72 ++--- app/src/main/res/menu/popup_message_more.xml | 280 +++++++++--------- 3 files changed, 207 insertions(+), 196 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 80d3d3fb3d..deceb11eed 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -122,6 +122,7 @@ import androidx.core.content.FileProvider; import androidx.core.content.pm.ShortcutInfoCompat; import androidx.core.content.pm.ShortcutManagerCompat; import androidx.core.graphics.ColorUtils; +import androidx.core.view.MenuCompat; import androidx.fragment.app.DialogFragment; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; @@ -4531,18 +4532,14 @@ public class AdapterMessage extends RecyclerView.Adapter + + + + + app:layout_constraintTop_toBottomOf="@id/cbHide" /> - - + app:layout_constraintTop_toBottomOf="@id/cbCopy" /> + app:layout_constraintTop_toBottomOf="@id/cbRule" /> + app:layout_constraintTop_toBottomOf="@id/cbKeywords" /> - - \ No newline at end of file diff --git a/app/src/main/res/menu/popup_message_more.xml b/app/src/main/res/menu/popup_message_more.xml index 97c74a6e36..2ada436a8b 100644 --- a/app/src/main/res/menu/popup_message_more.xml +++ b/app/src/main/res/menu/popup_message_more.xml @@ -5,140 +5,148 @@ android:icon="@drawable/twotone_smart_button_24" android:title="@string/title_configure_buttons" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +