如何渲染的TextView文本具有URL apparence文本、TextView、apparence、URL

2023-09-06 06:30:59 作者:少年ㄨ痴狂梦

可以请你,如果我能如何呈现文本的TextView 用一样的外观(带有下划线的蓝色文字)的网址?它可以用普通的文本(显示为纯文本)混合使用吗?当我点击它,它会启动的WebView 加载该URL?

Can you please if how can I render text TextView with URL like appearance (blue text with an underline)? And it can mixed with regular text (display as plain text)? And when I click on it, it will launch WebView loading that URL?

推荐答案

检查的 TextView中的自动链接参数。

 
精彩推荐
图片推荐