title: view.getDrawingCache() only works once
body: <p>I have a RelativeLayout with a loaded bitmap image using the Touch V2 example from Pragmatic Bookshelf -- <a href="http://media.pragprog.com/titles/eband3/code/Touchv2/src/org/example/touch/Touch.java" rel="noreferrer">http://media.pragprog.com/titles/eband3/code/Touchv2/src/org/example/touch/Touch.java</a></p>
  
  <p>I've added a separate button with onclicklistener that when clicked will load an image from the gallery.  On the activity result the image is loaded as a bitmap into the RelativeLayout:</p>
  
  <pre><code>    public void getPictureFromFile(Uri targetUri){
      try {
          BitmapFactory.Options options = new BitmapFactory.Options();
          options.inSampleSize = scale(getContentResolver()
                  .openInputStream(targetUri));
          workinprogress = BitmapFactory.decodeStream(
                  getContentResolver().openInputStream(targetUri),
                  null, options);
          view.setImageBitmap(workinprogress);
      } catch (FileNotFoundException e) {
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>One the next button click, I grab the image of the relativelayout using:</p>
  
  <pre><code>                thepicture.buildDrawingCache(true);
              Bitmap bm = Bitmap.createBitmap(thepicture.getDrawingCache());
  </code></pre>
  
  <p>The process works terrific -- for the first image.  When I load another image again, the bitmap passed is still the same as the original.  I've tried the thepicture.invalidate() and thepicture.resetDrawableState() before getDrawingCache() but neither seem to update the image to the newly loaded picture, although the frame layout displays the correct image.</p>
  
  <p>Is there something I don't understand about refreshing drawingCache that I need to implement for the second image I load?</p>