2

I should html content load on textview its ok and display well but how to handle multiple underline word getting onclick dynamically.

How can i getting click like as Phnom Penh, Siem Reap & so on etc..????

Thanks in advance

See snapshot

enter image description here

Najib.Nj
  • 3,706
  • 1
  • 25
  • 39

2 Answers2

2

Just put below line in your code:

textview.setMovementMethod(LinkMovementMethod.getInstance());

It will open link which is attached to that word in html.

Karn Shah
  • 501
  • 4
  • 14
2

I'm so happy bcos I should find out answer for this quesiton, which i need to it dynamically solutions.

Just, go on this link for blog and step by step which is our need to dynamically solution there.

SuN Blog

http://suniljp.blogspot.in/search/label/TextView_%20%20underline%20text%20click

:)

Najib.Nj
  • 3,706
  • 1
  • 25
  • 39