1
我希望把一个TextView的链接,我已经把android:autoLink="web"
如何把链接放在TextView上?
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/text_prix"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:autoLink="web"
android:padding="10dp"
android:textSize="16sp" >
</TextView>
,当我的链接点击,我有它正确打开浏览器。但我想在textview上显示每个链接的TAG。我怎样才能做到这一点? 例如: 对于www.google.fr链接,我想在ListView“Google”上显示。 这可能吗? 谢谢你的帮助。
的onClick?如何使用预定义的URL打开浏览器? – androniennn 2011-08-17 13:08:39