Android之如何实现自动拨号,打开网页的功能【超链接】
2015-08-19 18:43
706 查看
3.自动拨号,打开网页等功能:
注意不要忘了导入权限
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:autoLink="all"//设置链接的支持功能,all代表支持全部功能,还可以选择,也可以单独选
android:background="#ffcc00"
android:singleLine="true"
android:textColorLink="#ffffff"//设置链接颜色
android:text="15539186845 www.baidu.com" >
</TextView>
注意不要忘了导入权限
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:autoLink="all"//设置链接的支持功能,all代表支持全部功能,还可以选择,也可以单独选
android:background="#ffcc00"
android:singleLine="true"
android:textColorLink="#ffffff"//设置链接颜色
android:text="15539186845 www.baidu.com" >
</TextView>
相关文章推荐
- Android之如何更改获取焦点的先后顺序
- Android之如何用TextView实现滚动字幕的效果【跑马灯】
- Android开发遇到问题汇总
- Android学习笔记之SoftReference软引用...
- Java,Android内存泄漏代码片段
- Android之Bitmap图片的截屏、模糊处理、传递、使用
- Android中的onActivityResult和setResult方法的使用
- Android studio 优化
- android 点滴——AsyncTask 和 Handler 比较
- Android 点滴——Handler用法总结
- Android重力感应飘树叶,晃动掉元宝
- Android性能优化典范-第3季
- Android性能优化典范-第2季
- android opengl es 1.0 draw text
- android 特效头疼
- android shape使用
- Android笔记:数据储存
- Android插件技术——开篇
- windows 下搭建完成的android JNI程序
- Android studio 使用总结 (乱七八糟的细节)