自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

zxt的博客

记录备忘

  • 博客(10)
  • 收藏
  • 关注

原创 动态权限申请

集成 在progect下的build.gradle中配置 allprojects { repositories { google() jcenter() //权限申请配置 maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' } } ...

2018-07-17 10:08:23 551

原创 studio依赖,ndk配置,jar包去重,分包

apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "" minSdkVersion 16 targetSdkVersion 23 versionCode 1 ...

2018-07-16 17:34:24 290

原创 log日志工具

package com.baodekeji.wztc.utils; import android.util.Log; /** * Created by zxt on 2018/6/23/023. * Desc : 日志打印工具 */ public class LogUtils { private static boolean ISDEBUG = true; priv...

2018-07-16 17:25:19 515

原创 SharedPreferences 临时保存工具

package com.baodekeji.wztc.utils; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.text.TextUtils; import co...

2018-07-16 17:22:22 175

转载 学习资料记录

Android 状态栏透明 Android vector标签 PathData 画图超详解

2018-07-16 17:11:04 150

原创 ConstraintLayout约束布局的应用

首先需要引入我们的ConstraintLayout,在build.gradle中加入: compile 'com.android.support.constraint:constraint-layout:1.0.2' ConstraintLayout 布局属性 ConstraintLayout 中的 Constraint 为名词(翻译为:约束;限制;强制),所以顾名思义该布局在每个在子 V...

2018-07-16 17:10:43 267

原创 融云集成

1.  融云的回调都是在子线程, 修改UI操作时需要注意线程切换 2. 融云断线后会自动重新连接,只需要初始化一次,调用connect方法一次 3. 连接融云之前需要获取到融云的用户token 4. 融云登录一级判断登录状态 //登录融云 ImLoginManager.getInstance(ActivityAccountLogin.t...

2018-07-16 17:09:31 276

原创 Toast工具类

package com.baodekeji.wztc.utils; import android.content.Context; import android.widget.Toast; import com.baodekeji.wztc.base.MyApplication; /** * Toast工具类 */ public class ToastUtil { priv...

2018-07-16 17:08:57 108

原创 TextView特效显示 获取验证码倒计时

SpannableStringBuilder spannableString = new SpannableStringBuilder(); String name = "这是一个昵称:"; spannableString.append(name); spannableString.append(s...

2018-07-16 16:04:14 467

原创 ConstraintLayout约束布局的应用

首先需要引入我们的ConstraintLayout,在build.gradle中加入:compile 'com.android.support.constraint:constraint-layout:1.0.2'ConstraintLayout 布局属性ConstraintLayout 中的 Constraint 为名词(翻译为:约束;限制;强制),所以顾名思义该布局在每个在子 View 上添加...

2018-05-24 15:48:11 229

空空如也

空空如也

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

TA关注的人

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