Android的Linkify文本 - Spannable文本单文本视图 - 像Twitter的鸣叫 [英] Android Linkify text - Spannable Text in Single Text View - As like Twitter tweet

查看:125
本文介绍了Android的Linkify文本 - Spannable文本单文本视图 - 像Twitter的鸣叫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个TextView和文字像

I have a textView and text like

这是简单的文本是关键字链接即可浏览

"This is the Simple Text with KeyWord and the Link to browse"

在我要让上面的文字。

点击链接去打开网址点击该关键字在我的应用程序中打开一个新的活动

此外, 有一个click事件全TextView的平衡。

请帮我找到一个解决办法。 谢谢, MKJParekh

Please help me finding a solution. Thank You, MKJParekh

推荐答案

我已经用我在这里回答同样的事情<一href="http://stackoverflow.com/questions/11137008/how-to-make-listitem-textview-to-work-as-twitter-tweets-and-get-different-linkif/11153223#11153223">This问

I have used the same thing which I answered here in This Question

有关,我已经使用这个 LinkEnabledTextView 并成为容易让我做任务。

For that I have used this LinkEnabledTextView and that become easy for me to do the task.

这篇关于Android的Linkify文本 - Spannable文本单文本视图 - 像Twitter的鸣叫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆