自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 属性动画

移动 ObjectAnimator translationX = ObjectAnimator.ofFloat(imageView, "translationX", new float[]{10f,20f,30f,0f}); 旋转 ...

2018-11-17 11:28:54 115

原创 recyclerview的一些参数

recy.setLayoutManager(newLinearLayoutManager(this,LinearLayout.VERTICAL,false)); recy.setLayoutManager(newGridLayoutManager(this,2,GridLayoutManager.VERTICAL,false)); ...

2018-11-17 11:25:24 213

原创 第三方登录

第一步: 创建项目时,首先把包名改成com.umeng.soexample 第二步:进行导包,把umenglib包导入项目里 第三步:把导入的包绑定到App里 第四步:导入debug.keystore文件,切记一定要导在App目录下 第五步:app下build.gradle复制以下内容 buildTypes { release { // 是否进行混淆 minifyEnabled false // ...

2018-11-15 10:52:19 133

原创 okhttp的上传下载

上传 File file = new File(Environment.getExternalStorageDirectory()+"/Download", “a.jpg”); RequestBody body = RequestBody.create(MediaType.parse(“application/octet_stream”),file); MultipartBody multipar...

2018-11-14 08:28:04 104

原创 okhttp

依赖 implementation ‘com.squareup.okhttp3:okhttp:3.6.0’ 异步加载 OkHttpClient okHttpClient=new OkHttpClient(); Request.Builder builder = new Request.Builder(); Request.Builder url = builder.url(path); Reque...

2018-11-13 09:35:32 90

原创 自定义画板

package com.example.lianxi; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import...

2018-11-04 18:52:58 129

空空如也

空空如也

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

TA关注的人

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