Android 中textView 直接点击跳转web、phone、email之类的
2016-04-05 14:21
423 查看
<TextView android:layout_marginTop="10dp" android:autoLink="phone" //跳转电话 android:textSize="@dimen/sn_16sp" android:text="132131216" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:layout_marginTop="10dp" android:autoLink="web" //跳转web android:textSize="16sp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/author" />
<TextView android:layout_marginTop="10dp" android:autoLink="email" //跳转邮箱 android:textSize="16sp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/email" />
相关文章推荐
- ImageLoder图片加载器《Android源码设计模式第一章学习笔记》
- android Menu菜单的使用
- android studio 签名打包 各种方法
- Android Studio创建虚拟机时可用版本列表只有最新的
- android 在锁频界面直接打开自己的应用
- Android Dialog在底部显示且宽度match_parent
- android 获取分辨率的方法
- Android源码分析—带你认识不一样的AsyncTask
- android Json解析详解(详细代码)
- Android消息机制浅析——原理探究
- Android——单例模式
- Android消息机制浅析——基本使用
- 管理音频播放(摘自Android官方培训课程中文版(v0.9.5))
- android --- 空格占位符
- Android常用正则表达式
- Android 广播机制 详解
- android dialog中listview的item点击效果
- android 传递图片
- 在Unix系统下编译Opencv源码生成android so库以及android-sdk
- Android Low memory killer