mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Link to POP3 FAQ
This commit is contained in:
parent
b0964bd79b
commit
6786abcb34
3 changed files with 13 additions and 3 deletions
|
@ -23,6 +23,7 @@ import android.app.NotificationManager;
|
|||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.drawable.GradientDrawable;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
|
@ -83,6 +84,7 @@ public class FragmentAccount extends FragmentBase {
|
|||
private Button btnAutoConfig;
|
||||
private ContentLoadingProgressBar pbAutoConfig;
|
||||
|
||||
private TextView tvPopSupport;
|
||||
private EditText etHost;
|
||||
private RadioGroup rgEncryption;
|
||||
private CheckBox cbInsecure;
|
||||
|
@ -175,6 +177,7 @@ public class FragmentAccount extends FragmentBase {
|
|||
btnAutoConfig = view.findViewById(R.id.btnAutoConfig);
|
||||
pbAutoConfig = view.findViewById(R.id.pbAutoConfig);
|
||||
|
||||
tvPopSupport = view.findViewById(R.id.tvPopSupport);
|
||||
etHost = view.findViewById(R.id.etHost);
|
||||
etPort = view.findViewById(R.id.etPort);
|
||||
rgEncryption = view.findViewById(R.id.rgEncryption);
|
||||
|
@ -269,6 +272,14 @@ public class FragmentAccount extends FragmentBase {
|
|||
}
|
||||
});
|
||||
|
||||
tvPopSupport.setPaintFlags(tvPopSupport.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
tvPopSupport.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
Helper.viewFAQ(getContext(), 11);
|
||||
}
|
||||
});
|
||||
|
||||
etDomain.addTextChangedListener(new TextWatcher() {
|
||||
@Override
|
||||
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
android:layout_marginTop="6dp"
|
||||
android:text="@string/title_pop3_support"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:textStyle="italic"
|
||||
android:textColor="?android:attr/textColorLink"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvImap" />
|
||||
|
||||
|
|
|
@ -402,8 +402,7 @@
|
|||
<string name="title_identity_delete">Delete this identity permanently?</string>
|
||||
<string name="title_edit_html">Edit as HTML</string>
|
||||
<string name="title_last_connected">Last connected: %1$s</string>
|
||||
<string name="title_pop3_hint">POP3 has significant limitations, so use IMAP whenever possible</string>
|
||||
<string name="title_pop3_support">POP3 is not supported, see also the FAQ</string>
|
||||
<string name="title_pop3_support">POP3 is not supported</string>
|
||||
|
||||
<string name="title_synchronize_now">Synchronize now</string>
|
||||
<string name="title_synchronize_all">Synchronize all messages</string>
|
||||
|
|
Loading…
Reference in a new issue