mirror of https://github.com/M66B/FairEmail.git
Autolink whois
This commit is contained in:
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…
Reference in New Issue