title: Converting FrameLayout from two images into one image
body: <p>I have try convering with bitmap but the problem is that the image look bed here is what i did :  </p>
  
  <pre><code> submitPhoto.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
  
              customImage.setDrawingCacheEnabled(true);
              customImage.buildDrawingCache();
  
              //Bitmap bit =Bitmap.createBitmap(customImage.getWidth(), customImage.getHeight(),Bitmap.Config.ARGB_8888);
              //Canvas canvas = new Canvas(bit);
              //personPhoto.draw(canvas);
              Bitmap bitmap=Bitmap.createBitmap( customImage.getDrawingCache());
              customImage.setDrawingCacheEnabled(false);
              ByteArrayOutputStream bytes = new ByteArrayOutputStream();
              bitmap.compress(Bitmap.CompressFormat.JPEG, 100, bytes);
              Intent intent=new Intent(OnPhotoTakedActivity.this,OnPhotoSubmit.class);
              intent.putExtra("bitmap",scaleDownBitmap(bitmap,120,getApplicationContext()));
              startActivity(intent);
  
          }
      });
  </code></pre>
  
  <p>and in the next activity :</p>
  
  <pre><code> Intent intent = getIntent();
      Bitmap bitmap=intent.getExtras().getParcelable("bitmap");
  
      imageView.setImageBitmap(bitmap);
  </code></pre>
  
  <p>I tryed all the codes on this and other webs but still the image look bad
  thanks any way.</p>