title: onKeyDown() issue
body: <p>I would like to create a photo/video capture application. </p>
  
  <p>I have created a <code>CaptureView</code> class which extends <code>SurfaceView</code> and placed it in the main form.</p>
  
  <p>The main form's activity has <code>onCreateOptionsMenu()</code> method which creates a menu. The menu worked fine but then I tried to implement a method <code>onKeyDown</code>:</p>
  
  <pre><code>@Override
  public boolean onKeyDown(int keyCode, KeyEvent event) {
  
      if(event.getAction() == KeyEvent.ACTION_DOWN) {
          switch(keyCode) {
          case KeyEvent.KEYCODE_CAMERA:
              videoPreview.TakePicture();
              return true;
          }
      }
  
      return super.onKeyDown(keyCode, event);
  }
  </code></pre>
  
  <p>The menu doesn't appear anymore and the method doesn't catch onKeyDown event.</p>
  
  <p>Does anyone know what could be the reason for this issue?</p>