How can I draw an ImageView from the OnDraw() method? canvas.() does not have to call a resource?
I am trying to do this
@Override
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
imageBack = BitmapFactory.decodeResource(getResources(), R.drawable.background);
canvas.drawBitmap(imageBack, (x /2)-15 ,y /2, null);
//touchEvents();
ImageView image1 = (ImageView)findViewById(R.id.ImageView01);
}