Android版的TextView Linkify问题,电话号码和应用程​​序版本号 [英] Android TextView Linkify problem with phone numbers and application version number

查看:312
本文介绍了Android版的TextView Linkify问题,电话号码和应用程​​序版本号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有TextView的和自动链接功能的问题。

I have a problem with TextView and autoLink feature.

我有一个有关屏幕在我与像01.01.01形式一样支持电话号码,电子邮件地址,网站网址以及应用程序版本的一些信息应用

I have an about screen in my application with some information like support phone number, email address, website URL and application version in form like 01.01.01

设置自动链接=all的TextView的,所有值都联的细后 - 除了版本号01.01.01被链接的电话号码以及

After setting autoLink="all" on the textView, all values are linked fine - except that version number 01.01.01 is linked as the phone number as well.

是否有某种方式从linkifing排除这种文本片段?

Is there some way to exclude this text fragment from linkifing?

推荐答案

广场至另一版本的TextView?

Place version to another TextView?

这篇关于Android版的TextView Linkify问题,电话号码和应用程​​序版本号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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