Taking a Layout screenshot, WebView not visable in it
<p>I'm trying to take a screenshot of a layout that contains several webview using this code.</p>

<pre><code>LinearLayout v = LinLayList.get(0);
v.setBackgroundColor(0xFFFFFFFF);
v.setDrawingCacheEnabled(true);         
v.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
v.layout(0, 0, v.getMeasuredWidth(), v.getMeasuredHeight());
v.buildDrawingCache(true);
Bitmap b = Bitmap.createBitmap(v.getDrawingCache());
v.setDrawingCacheEnabled(false);
</code></pre>

<p>But here's what I'm getting ( layout is above and the screenshot is below ).</p>

<p><img src="http://i.stack.imgur.com/sCx1r.png" alt="enter image description here"></p>

<p>While the textviews with "AAAAA!" appear fine in the screenshot, the webview seem to be missing.</p>

<p>Any ideas what might have caused it?</p>

<p>Thanks!</p>
