摘要: 二者相互转化的代码十分简单,如下: //Drawable--->Bitmappublic static Bitmap drawableToBitmap(Drawable drawable) { return ((BitmapDrawable)drawable).getBitmap();}//Bitmap--->Drawablepublic static Drawable bitmapToDrawa... 阅读全文
posted @ 2011-07-28 14:06 ihou 阅读(375) 评论(0) 推荐(0) 编辑