android 获取资源文件 r.drawable中的图片转换为drawable、bitmap
1、Resources resources = mContext.getResources();Drawable drawable = resources.getDrawable(R.drawable.a);imageview.setBackground(drawable);2、Resources r = this.getContext().getResources();Inputstream i...
复制链接