摘要:
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 阅读全文