title: how to merge to two bitmap one over another
body: <p>I have two images and  i want to save one bitmap image over another exactly at the same point where it is present i also move image using gesture .</p>
  
  <pre><code>public Bitmap combineImages(Bitmap ScaledBitmap, Bitmap bit) {
  
          int X = bit.getWidth();
          int Y = bit.getHeight();
  
          Scaled_X = ScaledBitmap.getWidth();
          scaled_Y = ScaledBitmap.getHeight();
  
          System.out.println("Combined Images");
  
          System.out.println("Bit :" + X + "/t" + Y);
  
          System.out.println("SCaled_Bitmap :" + Scaled_X + "\t" + scaled_Y);
  
          overlaybitmap = Bitmap.createBitmap(ScaledBitmap.getWidth(),
                  ScaledBitmap.getHeight(), ScaledBitmap.getConfig());
          Canvas canvas = new Canvas(overlaybitmap);
          canvas.drawBitmap(ScaledBitmap, new Matrix(), null);
          canvas.drawBitmap(bit, new Matrix(), null);
  
          return overlaybitmap;
      }
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>