title: How to combine canvas drawing with android activity layout which includes buttons and layouts?
body: <p>I am trying to build an app with buttons on its activity layout, but I want the score to be drawn on the same activity using</p>
  
  <pre><code>$canvas.drawText()
  </code></pre>
  
  <p>We use </p>
  
  <pre><code>$setContentView(R.id.activity)
  </code></pre>
  
  <p>for setting the content view of a layout, and use</p>
  
  <pre><code>$SurfaceView sv = new SurfaceView(this);
  $setContentView(sv)
  </code></pre>
  
  <p>for drawing but how can we combine both in a same activity?</p>