图片相关的处理
1.Bitmap bitmap = BitmapFactory.decodeResource(res, id);
?2.InputStream is = context.getResources().openRawResource(R.drawable.app_sample_code); Bitmap bitmap = BitmapFactory.decodeStream(is);
Drawable dr = context.getResources().getDrawable(R.drawable.beach);?