diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java
index a96dac8e09..13211abd22 100644
--- a/app/src/main/java/eu/faircode/email/FragmentMessages.java
+++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java
@@ -256,6 +256,7 @@ public class FragmentMessages extends FragmentBase
private TextView tvSupport;
private ImageButton ibHintSupport;
private ImageButton ibHintSwipe;
+ private ImageButton ibHintOutbox;
private ImageButton ibHintSelect;
private ImageButton ibHintJunk;
private TextView tvMod;
@@ -283,6 +284,7 @@ public class FragmentMessages extends FragmentBase
private Group grpSupport;
private Group grpHintSupport;
private Group grpHintSwipe;
+ private Group grpHintOutbox;
private Group grpHintSelect;
private Group grpHintJunk;
private Group grpMotd;
@@ -581,6 +583,7 @@ public class FragmentMessages extends FragmentBase
tvSupport = view.findViewById(R.id.tvSupport);
ibHintSupport = view.findViewById(R.id.ibHintSupport);
ibHintSwipe = view.findViewById(R.id.ibHintSwipe);
+ ibHintOutbox = view.findViewById(R.id.ibHintOutbox);
ibHintSelect = view.findViewById(R.id.ibHintSelect);
ibHintJunk = view.findViewById(R.id.ibHintJunk);
tvMod = view.findViewById(R.id.tvMotd);
@@ -609,6 +612,7 @@ public class FragmentMessages extends FragmentBase
grpSupport = view.findViewById(R.id.grpSupport);
grpHintSupport = view.findViewById(R.id.grpHintSupport);
grpHintSwipe = view.findViewById(R.id.grpHintSwipe);
+ grpHintOutbox = view.findViewById(R.id.grpHintOutbox);
grpHintSelect = view.findViewById(R.id.grpHintSelect);
grpHintJunk = view.findViewById(R.id.grpHintJunk);
grpMotd = view.findViewById(R.id.grpMotd);
@@ -713,6 +717,14 @@ public class FragmentMessages extends FragmentBase
}
});
+ ibHintOutbox.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ prefs.edit().putBoolean("message_outbox", true).apply();
+ grpHintOutbox.setVisibility(View.GONE);
+ }
+ });
+
ibHintSelect.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
@@ -5285,11 +5297,13 @@ public class FragmentMessages extends FragmentBase
}
boolean hints = (viewType == AdapterMessage.ViewType.UNIFIED || viewType == AdapterMessage.ViewType.FOLDER);
+ boolean outbox = EntityFolder.OUTBOX.equals(type);
boolean junk = EntityFolder.JUNK.equals(type);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
boolean app_support = prefs.getBoolean("app_support", false);
boolean message_swipe = prefs.getBoolean("message_swipe", false);
+ boolean message_outbox = prefs.getBoolean("message_outbox", false);
boolean message_select = prefs.getBoolean("message_select", false);
boolean message_junk = prefs.getBoolean("message_junk", false);
boolean motd = prefs.getBoolean("motd", false);
@@ -5297,6 +5311,7 @@ public class FragmentMessages extends FragmentBase
grpHintSupport.setVisibility(app_support || !hints || junk ? View.GONE : View.VISIBLE);
grpHintSwipe.setVisibility(message_swipe || !hints || junk ? View.GONE : View.VISIBLE);
+ grpHintOutbox.setVisibility(message_outbox || !hints || !outbox ? View.GONE : View.VISIBLE);
grpHintSelect.setVisibility(message_select || !hints || junk ? View.GONE : View.VISIBLE);
grpHintJunk.setVisibility(message_junk || !junk ? View.GONE : View.VISIBLE);
grpMotd.setVisibility(motd ? View.VISIBLE : View.GONE);
diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java
index 9d5503dc51..26d5fca3dc 100644
--- a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java
+++ b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java
@@ -307,7 +307,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
private final static String[] RESET_QUESTIONS = new String[]{
"first", "app_support", "notify_archive",
- "message_swipe", "message_select", "message_junk",
+ "message_swipe", "message_outbox", "message_select", "message_junk",
"folder_actions", "folder_sync",
"crash_reports_asked", "review_asked", "review_later", "why",
"reply_hint", "html_always_images", "open_full_confirmed", "open_amp_confirmed",
diff --git a/app/src/main/res/layout/fragment_messages.xml b/app/src/main/res/layout/fragment_messages.xml
index 3268d35575..34f71dbcb2 100644
--- a/app/src/main/res/layout/fragment_messages.xml
+++ b/app/src/main/res/layout/fragment_messages.xml
@@ -204,6 +204,39 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvHintSwipe" />
+
+
+
+
+
+
+ app:layout_constraintTop_toBottomOf="@id/vSeparatorHintOutbox" />
+
+
You can dismiss this dialog box to remove the notice.
If you have a question or a problem, please use the support menu to get help
Swipe left to trash; Swipe right to archive (if available); The swipe actions can be configured in the account settings
+ You can swipe left or right to cancel sending
Long press a message to start selecting multiple messages; Hold and swipe up or down to select more messages
An email client basically displays messages on an email server.