title: EditText remove black underline while typing
body: <p>I have bit of an issue in my EditText.</p>
  
  <p>I have a piece of code that detects when a specific piece of text is underlined (so that a underline icon can be highlighted). This is achieved by detecting UnderlineSpans. However when typing there are underlines under the current word, which appears to also use UnderlineSpans, therefore leading the underline icon being selected:
  <a href="https://i.stack.imgur.com/jBloM.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/jBloM.jpg</a></p>
  
  <p>I've already tried adding <code>android:inputType="textNoSuggestions"</code> to my EditText XML. However this appears to disable spell checking, but not the black underline. Is there anyway to remove this underline (preferably without removing spell checking) or an alternative for me to detect my own UnderlineSpans?</p>