android: Set link with <a href> in TextView
问题 I create a TextView dynamically and want to set the text as linkable. Text value is "Google". I referred to internet & blogs like this, which shows the same way, but I couldn't produce the expected results. I tried different ways, but the output I see is the whole text with text only. The code I have tried with is : TextView tv1 = new TextView(this); tv1.setLayoutParams(textOutLayoutParams); // Make Linkable tv1.setMovementMethod(LinkMovementMethod.getInstance()); tv1.setText(Html.fromHtml(l