自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (3)
  • 收藏
  • 关注

原创 Could not resolve com.android.tools.build:gradle:3.4.1

添加 google();

2019-05-22 13:55:26 7802

转载 FileProvider 的使用(Failed to find configured root that contains/storage/emulated/0/DCIM/ )

原 FileProvider 的使用(Failed to find configured root that contains/storage/emulated/0/DCIM/ ) 2017年...

2019-05-17 14:23:09 4866

转载 android 报错 This Gradle plugin requires a newer IDE able to request IDE model level 3 错误解决方案

android studio  导入项目时报错 This Gradle plugin requires a newer IDE able to request IDE model level 3 报错。解决方法: (1): 升级android studio ID...

2018-05-14 15:44:57 395

转载 Androi Error:Execution failed for task ':app:transformClassesWithDexForDebug'.> org.gradle.api.i

深夜来总结一下今天在android studio工具中预览遇到的坑:    夜晚很长,人很困,却无枕边人,写完看部“电影”进入梦乡,马上进入咱们的主题:           问题如下:   &nbsp

2018-05-14 15:10:04 541

原创 好文收藏

glide http://zhuanlan.51cto.com/art/201707/546737.htm     glide介绍圆角图片推荐 compile 'jp.wasabeef:glide-transformations:3.0.1' // If you want to use the GPU Filters compile 'jp.co.cyberage

2017-11-08 09:04:38 170

原创 react-native初始化项目时候报错?Error: Command failed: yarn add react-native --exact

试着又执行了下面两句后竟然解决问题了,感觉有些莫名其妙,因为我之前已经设置过,并且一直也没出现这个问题,你如果没解决的话试试npm config set registry https://registry.npm.taobao.orgnpm config set disturl https://npm.taobao.org/dist

2017-08-02 11:53:22 9286 1

原创 Recycle view局部刷新

首先控件用的是RecycleView//首先获取到Recycle的viewHolderBaseViewHolder viewHolder = (BaseViewHolder) Recycle.findViewHolderForAdapterPosition(position);//其次取到itemview上的控件 TextView

2016-09-05 17:54:27 761

原创 mac 下生成支付宝商家私匙

MAC OS自带了OpenSSL,所以不用去编译那一坨跟SHIT一样的源码。直接在命令行里使用OPENSSL就可以。打开命令行工具,然后输入 openssl打开openssl,接着只要三句命令就可以搞定。第一句命令生成私钥;第二句命令把RSA私钥转换成PKCS8格式,密码为空就行;第三句命令生成公钥。Last login: Fri Sep 12 00:59:51

2016-05-27 11:18:16 1822

原创 Android递归遍历文件夹中指定格式文件

public ArrayList refreshFileList(String strPath) { String filename;//文件名 String suf;//文件后缀 File dir = new File(strPath);//文件夹dir File[] files = dir.listFiles();//文件夹下的所

2016-05-21 12:53:53 6662 3

原创 Virtualbox 启动 unable to load R3 module 的解决方法

我的环境:WIN7 X64 + VirtualBox-4.3.20-96997-Win.exe错误提示如下:Unable to load R3 module D:\Program Files\Oracle\VirtualBox/VBoxDD.dll(VBoxDD):GetLastError=1790(VERR_UNRESOLVED_ERROR)返回 代码:E_FAI

2015-11-24 10:03:26 761

转载 EditText属性

android:inputType="text" 文本类型,多为大写、小写和数字符号  android:inputType="textCapCharacters" 字母大写  android:inputType="textCapWords" 首字母大写  android:inputType="textCapSentences" 仅第一个字母大写  android:inputType

2015-05-26 18:01:27 283

原创 软键盘顶Popup

private void ShowPopWindow() { if (popupWindow.isShowing()) { popupWindow.dismiss(); } else { popupWindow.setSoftInputMode(PopupWindow.INPUT_METHOD_NEEDED);

2015-05-19 16:02:01 332

原创 EditText评论按钮

像QQ输入框那样 监听输入类容变换发送按钮的效果。Xml布局...<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:gravity="center"

2015-01-23 15:25:58 374

原创 popupWindow的简单例子 背景模糊

popupwindow实现其实很简单,就是实例化popo加载设置布局添加popo的一些属性就可以实现。先是popup的XML布局。<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"

2015-01-19 15:18:19 2183

原创 Android Animation动画讲解

Animation主要有两种动画模式:一种是tweened animation(渐变动画) XML中JavaCodealphaAlphaAnimationscaleScaleAnimation一种是frame by frame(画面转换动画) 

2015-01-06 15:05:40 425 2

VirtualBox恢复系统主题

有提示Unable to load R3 module C:\Program Files\Oracle\VirtualBox/VBoxDD.DLL (VBoxDD): GetLastError=1790 (VERR_UNRESOLVED_ERROR).的错误

2015-11-24

流式布局,竖排RadioButton

竖排RadioButton,多行单选,自适应长度

2015-11-23

纵向vipage引导页

高仿网易新闻首次登录的纵向滑动引导页,纵向滑动引导程序进入首页

2015-04-09

空空如也

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

TA关注的人

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