title: Android Bitmap.createBitmap returns negative mHeight
body: <p>Modifying the Snake example to another game, added a lot of stuff.  An exception was created from the bitmap class.  So I debug the original Snake which works fine, but found that in TileView there is a function loadTile giving negative width as well:</p>
  
  <pre><code>Bitmap bitmap = Bitmap.createBitmap(mTileSize, mTileSize, Bitmap.Config.ARGB_8888);
  </code></pre>
  
  <p>after the above assignment, the bitmap had -1 for mHeight and mWidth.  Then how does the Snake even work?  I am just use the Eclipse and the virtual machine, not a real android phone.</p>