I have textview like this:
<TextView
android:id="@+id/tvComment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="web" />
tvComment.setText(Html.fromHtml(message));
Here is my text:
<a href='myapp://293482'>Jack </a> http://google.com
The problem is that <a href>
not clickable. If I remove android:autoLink="web"
, it is clickable but the link http://google.com
does not work.
How can I make both of them clickable?