Added hint about ActiveSync support

This commit is contained in:
M66B
2019-09-12 20:58:21 +02:00
parent 7e81a320eb
commit 023ad9a2df
4 changed files with 35 additions and 5 deletions

View File

@@ -85,6 +85,7 @@ public class FragmentAccount extends FragmentBase {
private ContentLoadingProgressBar pbAutoConfig;
private TextView tvPopSupport;
private TextView tvActiveSyncSupport;
private EditText etHost;
private RadioGroup rgEncryption;
private CheckBox cbInsecure;
@@ -180,6 +181,7 @@ public class FragmentAccount extends FragmentBase {
pbAutoConfig = view.findViewById(R.id.pbAutoConfig);
tvPopSupport = view.findViewById(R.id.tvPopSupport);
tvActiveSyncSupport = view.findViewById(R.id.tvActiveSyncSupport);
etHost = view.findViewById(R.id.etHost);
etPort = view.findViewById(R.id.etPort);
rgEncryption = view.findViewById(R.id.rgEncryption);
@@ -284,6 +286,15 @@ public class FragmentAccount extends FragmentBase {
}
});
tvActiveSyncSupport.setPaintFlags(tvActiveSyncSupport.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
tvActiveSyncSupport.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Uri uri = Uri.parse(Helper.FAQ_URI + "#user-content-frequently-requested-features");
Helper.view(getContext(), uri, false);
}
});
etDomain.addTextChangedListener(new TextWatcher() {
@Override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {