title: How to add view on view (e.g. button on image)
body: <p>image is set in imageview. I draw text successfully on image with the help of below code.</p>
  
  <pre><code>  BitmapFactory.Options myOptions = new BitmapFactory.Options();
          myOptions.inDither = true;
          myOptions.inScaled = false;
          myOptions.inPreferredConfig = Bitmap.Config.ARGB_8888;// important
          myOptions.inPurgeable = true;
  
          Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.awais, myOptions);
          Paint paint = new Paint();
          paint.setAntiAlias(true);
          paint.setColor(Color.RED);
  
  
          Bitmap workingBitmap = Bitmap.createBitmap(bitmap);
          Bitmap mutableBitmap = workingBitmap.copy(Bitmap.Config.ARGB_8888, true);
  
  
          Canvas canvas = new Canvas(mutableBitmap);
          // canvas.drawCircle(60, 50, 25, paint);
          canvas.drawText(String.valueOf(f), h, w, paint);
  
  
          imageView.setAdjustViewBounds(true);
          imageView.setImageBitmap(mutableBitmap);
  </code></pre>
  
  <p>but I want draw Buttons on image with different height and width. </p>