摘要:
public static Drawable toRoundCorner(Drawable drawable, int pixels) { BitmapDrawable bd = (BitmapDrawable)drawable; Bitmap bitmap = bd.getBitmap(); Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(), Config.ARGB_8888); Canvas canvas = new Canvas(output); final int c... 阅读全文
posted @ 2012-11-30 16:25
ligang305
阅读(351)
评论(0)
推荐(0)