会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
码弄
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
下一页
2024年11月26日
修改el-input、textarea、el-checkbox的禁用状态下的颜色
摘要: //checkBox自定义禁用样式 .el-checkbox__input.is-disabled + .el-checkbox__label { color: #808080 !important; } .el-checkbox__input.is-disabled.is-checked + .e
阅读全文
posted @ 2024-11-26 10:24 码弄
阅读(344)
评论(0)
推荐(0)
2021年12月18日
Android图标大小大致参考
摘要: //仅供参考hdpi 72x72 xhdpi 96x96 xxhdpi 144x144 xxxhdpi 192x192
阅读全文
posted @ 2021-12-18 15:18 码弄
阅读(131)
评论(0)
推荐(0)
2021年7月6日
kotlin中的类java switch语法
摘要: @RequiresApi(Build.VERSION_CODES.N) @OnClick(R.id.search, R.id.start_data, R.id.end_data) open fun onViewClicked(v: View?) { when (v?.id) { R.id.start
阅读全文
posted @ 2021-07-06 14:21 码弄
阅读(326)
评论(0)
推荐(0)
2021年6月21日
解决依赖库重复的问题
摘要: defaultConfig { 。。。 //解决库冲突 multiDexEnabled true } dependencies{ //解决库重复 implementation 'com.android.support:multidex:1.0.3' }
阅读全文
posted @ 2021-06-21 14:58 码弄
阅读(135)
评论(0)
推荐(0)
2021年5月19日
android中Edittext校验库
摘要: ## 官网搬运 https://github.com/ragunathjawahar/android-saripaar ## 导入 dependencies { compile 'com.mobsandgeeks:android-saripaar:2.0.3' } allprojects { rep
阅读全文
posted @ 2021-05-19 09:46 码弄
阅读(202)
评论(0)
推荐(0)
2021年4月23日
BaseRecyclerViewAdapterHelper的使用
摘要: github地址 https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/readme/0-BaseRecyclerViewAdapterHelper.mdallprojects { repositories { ..
阅读全文
posted @ 2021-04-23 14:29 码弄
阅读(2975)
评论(0)
推荐(0)
2021年4月21日
android播放器三方库
摘要: github链接 https://github.com/CarGuo/GSYVideoPlayer github有时候死活进不去修改dns也不行 记录一下 以备不时之需(其实就是搬运...小声bb)[dog] 1.使用 allprojects { repositories { ... maven {
阅读全文
posted @ 2021-04-21 17:09 码弄
阅读(1026)
评论(0)
推荐(0)
2021年4月6日
popupWindow点击外部不消失原因
摘要: //这一句得写在showAsDropDown的前面 不然不起作用 popupWindow.setOutsideTouchable(true); popupWindow.showAsDropDown(showView);
阅读全文
posted @ 2021-04-06 14:07 码弄
阅读(278)
评论(0)
推荐(0)
2021年1月27日
git中tag的操作
摘要: //查看提交日志git log --pretty=oneline --abbrev-commit//给历史提交打taggit tag -a v0.1 -m "说明" e628164//克隆指定tag的代码git clone -b tagName git地址//git创建tag git tag "ta
阅读全文
posted @ 2021-01-27 15:42 码弄
阅读(251)
评论(0)
推荐(0)
2020年8月25日
图片跟base64字节互转
摘要: public static String getFileBase64(String url) { try { File file = new File(url); FileInputStream inputFile = new FileInputStream(file); byte[] buffer
阅读全文
posted @ 2020-08-25 16:29 码弄
阅读(456)
评论(0)
推荐(0)
1
2
3
4
下一页
公告
点击右上角即可分享