mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Autolink whois
This commit is contained in:
parent
3e5e6af5fb
commit
5e512ecaea
2 changed files with 3 additions and 0 deletions
|
@ -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 a new issue