android 读取指定Resourceid的图片

public  static Bitmap drawBackground(Resources res){
  
  Bitmap  bit=BitmapFactory.decodeResource(res, R.drawable.back_image);
  return bit;
  
 };

posted @ 2012-04-06 13:08  李克华  阅读(568)  评论(0编辑  收藏  举报