1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Autolink whois

This commit is contained in:
M66B 2022-09-04 11:36:21 +02:00
parent 3e5e6af5fb
commit 5e512ecaea
2 changed files with 3 additions and 0 deletions

View file

@ -455,6 +455,8 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
final TextView tvHost = dview.findViewById(R.id.tvHost);
final TextView tvWhois = dview.findViewById(R.id.tvWhois);
tvWhois.setMovementMethod(LinkMovementMethod.getInstance());
tvHost.setText(args.getString("host"));
tvWhois.setText(whois);

View file

@ -39,6 +39,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:autoLink="web|email"
android:fontFamily="monospace"
android:text="Whois"
android:textAppearance="@style/TextAppearance.AppCompat.Small"