title: onclicklistener textView in android
body: <p>I have one <code>TextView</code> with two different colors. Here if I click <em>mini</em> it should redirect to one activity, if I click metro redirect to another activity.  How can I achieve this?</p>
  
  <pre><code>TextView t = (TextView)v.findViewById(R.id.text);
  String text = "&lt;font color=#000000&gt;&lt;b&gt;"+"mini"+"&lt;/b&gt;&lt;/font&gt;&lt;font color=#000000&gt; added &lt;/font&gt;&lt;font color=#1569C7&gt;"+"Metro"+"&lt;/font&gt;&lt;font color=#000000&gt; as a favourite.&lt;/font&gt;";
  t.setText(Html.fromHtml(text));
  </code></pre>