Preventing autolinking of emails and URLs in an Android WebView

后端 未结 5 1786
温柔的废话
温柔的废话 2021-02-10 00:48

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:15

    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.

提交回复
热议问题