摘要: public class Blur { public static Bitmap doBlur(Bitmap sentBitmap, int radius, boolean canReuseInBitmap) { Bitmap bitmap; if (canReuseInBitmap) {... 阅读全文
posted @ 2016-08-10 14:34 嘉禾世兴 阅读(846) 评论(0) 推荐(0) 编辑
摘要: 阻尼效果即是图片向下拉动时会放大,松开会回弹 1.自定义一个DampView类,继承ScrollView 2.布局最外层必须是DampView,且DampView和要拉动的图片之间只能有一层layout(切记) 3.Activity中调用 阅读全文
posted @ 2016-08-10 10:28 嘉禾世兴 阅读(1747) 评论(0) 推荐(0) 编辑