title: Camera not stretching to width of android device
body: <p>In my android camera app, Im trying to make it so that the camera layout view fills the width of the screen and then is proportional (to a square) for the height of the layout. But its cropping it too small for some reason:</p>
  
  <p><a href="http://oi57.tinypic.com/ua8gy.jpg" rel="nofollow">example of what is happening..</a></p>
  
  <p>The green arrow represents where it should go to.</p>
  
  <p>Ive tried fill_parent, etc. So, how can I make it go to the end of the screen?</p>
  
  <p>I believe this is the problem. I know I did this because I was not sure how to make it automatically stretch to the right proportion.</p>
  
  <pre><code>    int width = 352;
      int height = 288;
  
      camPreview = new CameraSurfaceView(width, height);
  
      myCamHolder.addCallback(camPreview);
  </code></pre>