- 博客(4)
- 资源 (4)
- 收藏
- 关注
原创 发送验证码之类的倒计时CountDownTimer
new CountDownTimer(6000, 1000) { @Override public void onFinish() { } @Override public void onTick(long l) { //l剩余时间 }}.start();
2018-06-27 11:24:42 172
原创 积累下遇到的问题和解决方案
1.The app.Configuration 'compile' is obsolete and has been replaced with 'implementation'.:解决方法在:https://blog.csdn.net/gogler/article/details/79756182implementation改为releaseCompile
2018-06-19 15:38:29 185
原创 AlertDialog设置大小与设置为圆角后有阴影
1.设置为圆角后有阴影window.setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));2.设置大小WindowManager.LayoutParams lp = dialog.getWindow().getAttributes();lp.width = AnimationTest.this.getResources().get...
2018-06-19 15:14:05 1001
原创 Android检测网路变化
1.jie'ccase ConnectivityManager.CONNECTIVITY_ACTION: int type = getRealTypeInner(context, false); final int oldType = mType; if (type != oldType) { mType = type; if (type =...
2018-06-19 15:12:55 511
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人