How to make links in a TextView clickable?

后端 未结 30 3956

I have the following TextView defined:



        
30条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-21 23:40

    I'm using only android:autoLink="web" and it works fine. A click on the link opens the browser and shows the correct page.

    One thing I could guess is that some other view is above the link. Something that is transparent fills the whole parent but don't displays anything above the link. In this case the click goes to this view instead of the link.

提交回复
热议问题