title: Android SurfaceView width/height
body: <p>I've made a couple of apps for android, but none used graphics that much. I'm now trying to make an actual game. I have some bitmaps that are on my canvas. My problem is I'm not sure where to initialize their positions. and in OnTouch events I want to make sure the bitmaps don't stray outside the screen.
  For example, initializing one bitmap:</p>
  
  <pre><code>canvas.drawBitmap(glider.getGraphic(), 30, 20, null);
  </code></pre>
  
  <p>20 and 30 were arbitrary. But I want to be able to write something like screen.getWidth() so I know exactly where the bitmap is relative to the border of the screen. I can't find this in the developers reference.</p>