title: Android TextView Hyperlink
body: <p>I'm implementing a TextView with a string containing two hyperlinks as below but the links are not opening a new browser window:</p>
  
  <pre><code>&lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center"
          android:gravity="center"
          android:textColor="#ffffff"
          android:paddingLeft="50dp"
          android:paddingRight="50dp"
          android:textSize="14sp"
          android:clickable="true"
          android:linksClickable="true"
          android:textColorLink="@color/colorPrimary"
          android:autoLink="web"
          android:text="@string/agree_terms_privacy"/&gt;
  </code></pre>
  
  <p>In string.xml</p>
  
  <pre><code>&lt;string name="agree_terms_privacy"&gt;By continuing, you agree to our &lt;a href="http://link1/terms"&gt;Terms of Use&lt;/a&gt; and read the &lt;a href="http://link1/privacy"&gt;Privacy Policy&lt;/a&gt;&lt;/string&gt;
  </code></pre>