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