diff --git a/app/src/main/java/eu/faircode/email/AdapterAttachment.java b/app/src/main/java/eu/faircode/email/AdapterAttachment.java index ec83dee502..6e66c0e0ec 100644 --- a/app/src/main/java/eu/faircode/email/AdapterAttachment.java +++ b/app/src/main/java/eu/faircode/email/AdapterAttachment.java @@ -20,6 +20,7 @@ package eu.faircode.email; */ import android.content.Context; +import android.content.DialogInterface; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.Typeface; @@ -30,6 +31,8 @@ import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; +import android.widget.CheckBox; +import android.widget.CompoundButton; import android.widget.ImageButton; import android.widget.ImageView; import android.widget.ProgressBar; @@ -37,6 +40,7 @@ import android.widget.TextView; import android.widget.Toast; import androidx.annotation.NonNull; +import androidx.appcompat.app.AlertDialog; import androidx.appcompat.widget.PopupMenu; import androidx.core.app.ShareCompat; import androidx.fragment.app.Fragment; @@ -387,6 +391,51 @@ public class AdapterAttachment extends RecyclerView.Adapter + + + app:layout_constraintTop_toBottomOf="@id/cbFiles" /> diff --git a/app/src/main/res/layout/dialog_view_file.xml b/app/src/main/res/layout/dialog_view_file.xml new file mode 100644 index 0000000000..be312606db --- /dev/null +++ b/app/src/main/res/layout/dialog_view_file.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_options_privacy.xml b/app/src/main/res/layout/fragment_options_privacy.xml index 9c4c653e17..f4a6ec6892 100644 --- a/app/src/main/res/layout/fragment_options_privacy.xml +++ b/app/src/main/res/layout/fragment_options_privacy.xml @@ -138,6 +138,18 @@ app:layout_constraintTop_toBottomOf="@id/tvSanitizeLinksHint" app:switchPadding="12dp" /> + + Reset questions General questions - Show original messages - Show images Confirm links + View files + Show images + Show original messages Your Gmail accounts will continue to work after May 30, 2022 Some of your Gmail accounts may stop working after May 30, 2022 @@ -728,6 +729,7 @@ S/MIME Confirm opening links + Confirm viewing files Remove tracking parameters by default Only when confirming links Check domain block lists for suspicious links @@ -1499,6 +1501,7 @@ Images recognized as tracking images will not be shown Show AMP variant of the message? AMP messages are designed to be dynamic and to interact with the internet and can therefore by definition used to track you + View file %1$s ? Delete local messages? Messages will remain on the remote server. Help improve FairEmail Send error reports?