摘要: 1.Drawable—>BitmapResources res=getResources();Bitmap bmp=BitmapFactory.decodeResource(res, R.drawable.sample_0);2.Bitmap---->DrawableDrawable drawable =new BitmapDrawable(bmp);另外在网上搜了些,也不知到底谁是原创的,反正不是我1、Drawable → Bitmappublic static Bitmap drawableToBitmap(Drawable drawable) { Bitmap bitmap 阅读全文
posted @ 2012-04-13 14:27 johnny901114 阅读(224) 评论(0) 推荐(0) 编辑