Preventing autolinking of emails and URLs in an Android WebView

后端 未结 5 931
谎友^
谎友^ 2021-02-10 00:13

I have a WebView which may contain data that appears to be getting \"auto linked\". Something that looks like an email address is becoming clickable, even though i

5条回答
  •  迷失自我
    2021-02-10 01:12

    To do all the email addresses, add a meta tag:

    
    

    You can also disable physical address and telephone detection:

    
    
    

    In my own application, though, I needed PhD's solution to prevent only one email from being linked.

提交回复
热议问题