Android中Drawable与Bitmap相互转换的方法

1..Bitmap转Drawablecanvas Drawable drawable =new BitmapDrawable(bmp);spa 2.Drawable转Bitmapcode Resources res=getResources(); orm Bitmap bmp=BitmapFactory.decodeResource(res, R.drawable.sample_0); Resou
相关文章
相关标签/搜索