title: Android SurfaceView scrolling
body: <p>I'm writing an android application that builds an offscreen bitmap that is (say) 640*480 pixels and displays that in a SurfaceView.  Note that the size of the image is larger than the actual display on the handset.</p>
  
  <p>The way that the application works is that it initially displays the upper left corner (0,0) of the image and then I would like to be able to scroll around the image.</p>
  
  <p>My Surfaceview class implements the onMeasure callback and returns a size of 1024*768 which displays the area of the image that corresponds to the phone screen. I'd like to implement support for scrolling which I'm finding near impossible due to the very limited documentation (just bunches of classes and calls with no coherency). I've tried just calling scrollBy and that doesn't work.</p>
  
  <p>If anyone has any pointers about how to proceed this would be much appreciated.</p>