title: Canvas as ImageView/Bitmap
body: <p>I cant get my head around this problem I have. I have 2 images which were added to a canvas and will be treated as one object, now I need to return this canvas as bitmap/drawable, since
  Here is code how I added 2 bitmaps into a canvas</p>
  
  <pre><code>Bitmap image1=BitmapFactory.decodeResource(getResources() ,R.drawable.icon1);
  Bitmap image2=BitmapFactory.decodeResource(getResources() R.drawable.icon2);
  Rect srcRect = new Rect(0, 0, image.getWidth(), image.getHeight());
  Rect dstRect = new Rect(srcRect);
  dstRect.offset(15, 0);      
          canvas.drawBitmap(image, srcRect, dstRect, null);
  
          dstRect.offset(image.getWidth(), 0);    
  
          canvas.drawBitmap(image2, srcRect, dstRect, null);
         //return???????????
  </code></pre>
  
  <p>Please someone help.
  Tnx in advance! </p>