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"