![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
踩踩坑
MicroPlane
这个作者很懒,什么都没留下…
展开
-
错误: 程序包com.squareup.leakcanary不存在
错误: 程序包com.squareup.leakcanary不存在leakcanary leakcanary 网上介绍使用的太多了,最近在编译的时候报错: 错误: 程序包com.squareup.leakcanary不存在 百度,翻墙都没解决问题,最后发现是没写对应的 buildTypes 的Implementation。 写了3个buildType 需要增加下面的选项,对应buildType...原创 2018-11-01 22:08:15 · 3167 阅读 · 0 评论 -
DialogFragment 宽度设置后 背景不再有蒙版效果
DialogFragment 宽度设置后 背景不再有蒙版效果 用下面代码就搞定了。。。 WindowManager.LayoutParams layoutParams = getDialog().getWindow().getAttributes(); layoutParams.width = ViewGroup.LayoutParams.MATCH_PARENT; layoutParams.he...原创 2018-12-11 21:41:12 · 1057 阅读 · 0 评论