title: how do i draw an adView to a SurfaceView canvas
body: <p>i want to add admob advertising to my game app. however the game drawing is all on in code with no layouts, just the Surfaceview the game draws on. </p>
  
  <p>I cannot use the 
  layout.addView(adView);
  the docs give as an example since my game uses no layout, in fact the layout folder is deleted. </p>
  
  <p>in the main activity I define a game panel:</p>
  
  <p>gamepanel=new MainGamePanel(this);</p>
  
  <p>the gamepanel is instantiated:</p>
  
  <p>class MainGamePanel extends SurfaceView implements SurfaceHolder.Callback  </p>
  
  <p>and then I just draw right to the surfaceview using Canvas draw methods.</p>
  
  <p>so how do I add the adView object I created in the activity to the surfaceview:</p>
  
  <p>adView = new AdView(this, AdSize.BANNER, "MY_PUU_NUMBER");</p>
  
  <p>gamepanel.addView(adView) does not work. maybe i'll be forced to use a layout from the start just for this, but that will complicate things.</p>