自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Glide配置外部缓存路径

1、导入依赖implementation'com.github.bumptech.glide:glide:4.9.0'annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'2 外部缓存类@GlideModulepublic class GlideCache extends AppGlideModule { //设...

2019-07-01 21:24:35 609

原创 安卓Android 图片URi转File,上传到服务器接口

1、打开图库拿到图片//打开图库 Intent intent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); startActivityForResult(intent, 0);3、获取图片的路径 ...

2019-06-21 10:12:26 9690 1

原创 [新手教程] 用Banner和 Glide实现自动轮播

第一步     先写布局 <com.youth.banner.Banner android:id="@+id/bander" android:layout_width="match_parent" android:layout_height="150dp"/>`第二部 &...

2019-04-15 20:54:05 787

原创 Android开发 如何使用选择器(selector) 来实现点击按钮变色

如何使用选择器(selector)来实现点击按钮变色 简单的选择器操作&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_p...

2019-02-26 19:38:23 1710

空空如也

空空如也

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

TA关注的人

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