From 20dc28ab384b4b3668c8093a1255301863c944e0 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 1 Oct 2023 19:43:45 +0200 Subject: [PATCH] Replaced arrow icons --- .../main/java/eu/faircode/email/FragmentMessages.java | 10 +++++----- app/src/main/res/drawable/importance.xml | 4 ++-- ...seline_arrow_upward_24.xml => twotone_north_24.xml} | 2 +- ...line_arrow_downward_24.xml => twotone_south_24.xml} | 2 +- app/src/main/res/layout/dialog_ask_move.xml | 2 +- app/src/main/res/layout/dialog_buttons.xml | 2 +- app/src/main/res/layout/dialog_quick_actions.xml | 4 ++-- app/src/main/res/layout/fragment_legend_messages.xml | 4 ++-- app/src/main/res/layout/fragment_messages.xml | 4 ++-- app/src/main/res/menu/popup_message_more.xml | 6 +++--- 10 files changed, 20 insertions(+), 20 deletions(-) rename app/src/main/res/drawable/{baseline_arrow_upward_24.xml => twotone_north_24.xml} (76%) rename app/src/main/res/drawable/{baseline_arrow_downward_24.xml => twotone_south_24.xml} (75%) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index ccb325c164..aee7c9d48d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1348,9 +1348,9 @@ public class FragmentMessages extends FragmentBase if (prefs.getBoolean("updown", false)) { boolean reversed = prefs.getBoolean("reversed", false); bottom_navigation.getMenu().findItem(R.id.action_prev) - .setIcon(reversed ? R.drawable.baseline_arrow_upward_24 : R.drawable.baseline_arrow_downward_24); + .setIcon(reversed ? R.drawable.twotone_north_24 : R.drawable.twotone_south_24); bottom_navigation.getMenu().findItem(R.id.action_next) - .setIcon(reversed ? R.drawable.baseline_arrow_downward_24 : R.drawable.baseline_arrow_upward_24); + .setIcon(reversed ? R.drawable.twotone_south_24 : R.drawable.twotone_north_24); } bottom_navigation.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() { @@ -4073,15 +4073,15 @@ public class FragmentMessages extends FragmentBase SubMenu importance = popupMenu.getMenu() .addSubMenu(Menu.NONE, Menu.NONE, order++, R.string.title_set_importance) - .setIcon(R.drawable.baseline_arrow_upward_24); + .setIcon(R.drawable.twotone_north_24); importance.add(Menu.NONE, R.string.title_importance_high, 1, R.string.title_importance_high) - .setIcon(R.drawable.baseline_arrow_upward_24) + .setIcon(R.drawable.twotone_north_24) .setEnabled(!EntityMessage.PRIORITIY_HIGH.equals(result.importance)); importance.add(Menu.NONE, R.string.title_importance_normal, 2, R.string.title_importance_normal) .setIcon(R.drawable.twotone_horizontal_rule_24) .setEnabled(!EntityMessage.PRIORITIY_NORMAL.equals(result.importance)); importance.add(Menu.NONE, R.string.title_importance_low, 3, R.string.title_importance_low) - .setIcon(R.drawable.baseline_arrow_downward_24) + .setIcon(R.drawable.twotone_south_24) .setEnabled(!EntityMessage.PRIORITIY_LOW.equals(result.importance)); if (ids.length < MAX_SEND_RAW) diff --git a/app/src/main/res/drawable/importance.xml b/app/src/main/res/drawable/importance.xml index acd99edf4b..29d37bece1 100644 --- a/app/src/main/res/drawable/importance.xml +++ b/app/src/main/res/drawable/importance.xml @@ -1,12 +1,12 @@ diff --git a/app/src/main/res/drawable/baseline_arrow_upward_24.xml b/app/src/main/res/drawable/twotone_north_24.xml similarity index 76% rename from app/src/main/res/drawable/baseline_arrow_upward_24.xml rename to app/src/main/res/drawable/twotone_north_24.xml index 07b7a8366c..129add2d54 100644 --- a/app/src/main/res/drawable/baseline_arrow_upward_24.xml +++ b/app/src/main/res/drawable/twotone_north_24.xml @@ -6,5 +6,5 @@ android:tint="?attr/colorControlNormal"> + android:pathData="M5,9l1.41,1.41L11,5.83V22H13V5.83l4.59,4.59L19,9l-7,-7L5,9z"/> diff --git a/app/src/main/res/drawable/baseline_arrow_downward_24.xml b/app/src/main/res/drawable/twotone_south_24.xml similarity index 75% rename from app/src/main/res/drawable/baseline_arrow_downward_24.xml rename to app/src/main/res/drawable/twotone_south_24.xml index 8f9be44a70..901daf4a85 100644 --- a/app/src/main/res/drawable/baseline_arrow_downward_24.xml +++ b/app/src/main/res/drawable/twotone_south_24.xml @@ -6,5 +6,5 @@ android:tint="?attr/colorControlNormal"> + android:pathData="M19,15l-1.41,-1.41L13,18.17V2H11v16.17l-4.59,-4.59L5,15l7,7L19,15z"/> diff --git a/app/src/main/res/layout/dialog_ask_move.xml b/app/src/main/res/layout/dialog_ask_move.xml index 9893ca8050..3165e2d510 100644 --- a/app/src/main/res/layout/dialog_ask_move.xml +++ b/app/src/main/res/layout/dialog_ask_move.xml @@ -47,7 +47,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tvSourceFolders" - app:srcCompat="@drawable/baseline_arrow_downward_24" + app:srcCompat="@drawable/twotone_south_24" app:tint="?android:attr/textColorSecondary" /> + app:srcCompat="@drawable/twotone_north_24" /> + app:srcCompat="@drawable/twotone_south_24" />