Autolink whois

pull/209/head
M66B 2 years ago
parent 3e5e6af5fb
commit 5e512ecaea

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

@ -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"

Loading…
Cancel
Save