- 博客(4)
- 收藏
- 关注
原创 Bitmap的内存占用
realWidth = rawWidth * (targetDensity / density);realHeight = rawHeight * (targetDensity / density);memory = realWidth * realHeight * pixelSizetargetDensity: 屏幕密度density: 图片密度(xhdpi/xxhdpi/...)pixe
2016-07-08 13:47:34 629
原创 android app 默认的crash处理流程 (FATAL EXCEPTION)
private static class UncaughtHandler implements Thread.UncaughtExceptionHandler { public void uncaughtException(Thread t, Throwable e) { try { ......
2016-07-12 20:15:23 1234
原创 android点9图architecture
编译时aapt去掉周围一圈, 并将信息写入一个png chunk/** * This chunk specifies how to split an image into segments for * scaling. * * There are J horizontal and K vertical segments. These segments divide * the image
2016-07-12 19:19:34 547
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人