- 博客(15)
- 资源 (3)
- 收藏
- 关注
转载 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
5246
转载 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
417
转载 Androi Error:Execution failed for task ':app:transformClassesWithDexForDebug'.> org.gradle.api.i
深夜来总结一下今天在android studio工具中预览遇到的坑: 夜晚很长,人很困,却无枕边人,写完看部“电影”进入梦乡,马上进入咱们的主题: 问题如下:  
2018-05-14 15:10:04
563
原创 好文收藏
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
195
原创 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
9353
原创 Recycle view局部刷新
首先控件用的是RecycleView//首先获取到Recycle的viewHolderBaseViewHolder viewHolder = (BaseViewHolder) Recycle.findViewHolderForAdapterPosition(position);//其次取到itemview上的控件 TextView
2016-09-05 17:54:27
796
原创 mac 下生成支付宝商家私匙
MAC OS自带了OpenSSL,所以不用去编译那一坨跟SHIT一样的源码。直接在命令行里使用OPENSSL就可以。打开命令行工具,然后输入 openssl打开openssl,接着只要三句命令就可以搞定。第一句命令生成私钥;第二句命令把RSA私钥转换成PKCS8格式,密码为空就行;第三句命令生成公钥。Last login: Fri Sep 12 00:59:51
2016-05-27 11:18:16
1858
原创 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
6709
1
原创 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
855
转载 EditText属性
android:inputType="text" 文本类型,多为大写、小写和数字符号 android:inputType="textCapCharacters" 字母大写 android:inputType="textCapWords" 首字母大写 android:inputType="textCapSentences" 仅第一个字母大写 android:inputType
2015-05-26 18:01:27
314
原创 软键盘顶Popup
private void ShowPopWindow() { if (popupWindow.isShowing()) { popupWindow.dismiss(); } else { popupWindow.setSoftInputMode(PopupWindow.INPUT_METHOD_NEEDED);
2015-05-19 16:02:01
357
原创 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
411
原创 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
2261
原创 Android Animation动画讲解
Animation主要有两种动画模式:一种是tweened animation(渐变动画) XML中JavaCodealphaAlphaAnimationscaleScaleAnimation一种是frame by frame(画面转换动画)
2015-01-06 15:05:40
456
2
VirtualBox恢复系统主题
2015-11-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人