Link to POP3 FAQ

This commit is contained in:
M66B
2019-08-24 11:11:24 +02:00
parent b0964bd79b
commit 6786abcb34
3 changed files with 13 additions and 3 deletions

View File

@@ -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) {