title: How to make a textview text link clickable
body: <pre><code>Android Studio 2.3.1
  </code></pre>
  
  <p>I am trying to create some text that is not web or html but just some normal text that I want to look like a web link that will be clickable when clicked.</p>
  
  <p>The text is this: <code>Contains 3 reviews</code></p>
  
  <p>And I want to make it look like a clickable web link.</p>
  
  <pre><code>private void setupTextViewAsLinkClickable() {
      if(Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.N) {
          mTvReviews.setMovementMethod(LinkMovementMethod.getInstance());
          mTvReviews.setText(Html.fromHtml("Contains 3 reviews", Html.FROM_HTML_MODE_LEGACY));
      }
      else {
          mTvReviews.setMovementMethod(LinkMovementMethod.getInstance());
          mTvReviews.setText(Html.fromHtml("Contains 3 reviews"));
      }
  }
  </code></pre>
  
  <p>I have also tried this as well for my xml:</p>
  
  <pre><code>        &lt;TextView
              android:id="@+id/tvReviews"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:fontFamily="sans-serif-condensed"
              android:autoLink="all"
              android:linksClickable="true"
              android:clickable="true"
              android:textSize="@dimen/runtime_textsize"
              android:text="Contains 3 reviews" /&gt;
  </code></pre>