Loading k9mail/src/main/java/com/fsck/k9/ui/dialog/ApgDeprecationWarningDialog.java +6 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,8 @@ public class ApgDeprecationWarningDialog extends DialogFragment { LayoutInflater inflater = LayoutInflater.from(context); View contentView = inflater.inflate(R.layout.dialog_apg_deprecated, null, false); ((TextView) contentView.findViewById(R.id.apg_learn_more)).setMovementMethod(LinkMovementMethod.getInstance()); TextView textViewLearnMore = (TextView) contentView.findViewById(R.id.apg_learn_more); makeTextViewLinksClickable(textViewLearnMore); AlertDialog.Builder builder = new AlertDialog.Builder(context); builder.setIcon(R.drawable.ic_apg_small); Loading @@ -49,4 +50,8 @@ public class ApgDeprecationWarningDialog extends DialogFragment { return builder.create(); } private void makeTextViewLinksClickable(TextView textView) { textView.setMovementMethod(LinkMovementMethod.getInstance()); } } Loading
k9mail/src/main/java/com/fsck/k9/ui/dialog/ApgDeprecationWarningDialog.java +6 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,8 @@ public class ApgDeprecationWarningDialog extends DialogFragment { LayoutInflater inflater = LayoutInflater.from(context); View contentView = inflater.inflate(R.layout.dialog_apg_deprecated, null, false); ((TextView) contentView.findViewById(R.id.apg_learn_more)).setMovementMethod(LinkMovementMethod.getInstance()); TextView textViewLearnMore = (TextView) contentView.findViewById(R.id.apg_learn_more); makeTextViewLinksClickable(textViewLearnMore); AlertDialog.Builder builder = new AlertDialog.Builder(context); builder.setIcon(R.drawable.ic_apg_small); Loading @@ -49,4 +50,8 @@ public class ApgDeprecationWarningDialog extends DialogFragment { return builder.create(); } private void makeTextViewLinksClickable(TextView textView) { textView.setMovementMethod(LinkMovementMethod.getInstance()); } }