title: Make a string clickable, underlined in a TextView
body: <p><img src="https://i.stack.imgur.com/QFjD2.png" alt="enter image description here"></p>
  
  <p>I want to make the string "this link" underlined and clickable, but I don't know how to achieve that.</p>
  
  <p>XML file:</p>
  
  <pre><code>&lt;string name="submitText"&gt;Before you submit, please check out &amp;lt;u&gt;this link&amp;lt;/u&gt;&lt;/string&gt;
  </code></pre>
  
  <p>In my fragment:</p>
  
  <pre><code>tvSubmit.setText(Html.fromHtml(getString(R.string.submitText)));
  </code></pre>
  
  <p>I don't want the whole string to be clickable, only the underlined section. I cannot use a horizontal <code>LinearLayout</code> with 2 cells, because on smaller devices the string won't have a continues look, it will be sectioned in 2 cells.</p>
  
  <p>What have I tried:</p>
  
  <pre><code>tvSubmit.setMovementMethod(LinkMovementMethod.getInstance());
  Spannable sp = (Spannable) tvSubmit.getText();
  ClickableSpan click = new ClickableSpan() {
      @Override
      public void onClick(View widget) {
          showLink();
      }
  };
  sp.setSpan(click, 0, sp.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
  </code></pre>
  
  <p>The code above makes the whole string underlined and also the color of the text is changed into light blue.</p>