title: Android Tile Bitmap
body: <p>I'm trying to load a bitmap in Android which I want to tile. I'm currently using the following in my view to display a bitmap:</p>
  
  <pre><code>canvas.drawBitmap(bitmap, srcRect, destRect, null)
  </code></pre>
  
  <p>I essentially want to use this bitmap as a background image in my app and would like to repeat the bitmap in both the X and Y directions.</p>
  
  <p>I've seen the TileMode.REPEAT constant for the <code>BitmapShader</code> class but i am not sure if this is to be used for repeating the actual bitmap or is used for applying a filter to the bitmap.</p>