自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

转载 给TextView添加超链接

1.直接在xml文件中配置autoLink属性autoLink属性一共有六个值,分别是none(正常),web(将文本识别为一个网址),phone(将文本识别为一个电话号码),mail(将文本识别为一个邮件地址),map(这个,呃,该怎么表述呢?会打开地图应用),all(根据文本自动识别)。一般情况下我们设置为all即可,我们看看,这个时候它就会自动将TextView中的电话号码、邮件地址、网...

2018-08-24 16:54:00 1113

原创 安卓旋转动画

布局<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas...

2018-08-23 20:23:11 489

转载 Fragment复用静态代码块

数据public interface Servce { public String URI = "http://c.m.163.com/nc/"; @GET("video/list/{size}/n/0-20.html") Observable<viewInfo> getInfo(@Path("size") String size);}常量...

2018-08-20 21:02:02 107

原创 网络请求post get

网络请求post请求参数public interface NetService<T> { /** 接口:http://39.107.224.233/firstga/app/news/downListNews参数:{"userId":"aadc2d9fe76f4b89bf37ca738e23eafe","channelId":&amp

2018-08-20 20:31:41 229

转载 下拉刷新上拉加载第三方框架/post 网络请求

下拉刷新上拉加载第三方框架依赖 implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.3' implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.3'布局<com.scwang.smartrefresh.layo...

2018-08-20 19:38:14 312

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除