I am trying to capture an image of the WebView component as it displays a web page.
Why is the width always 800:
Picture screenie = webview.capturePicture();
Log.d(TAG, "W: " + screenie.getWidth() + " H: " + screenie.getHeight());
// 800 x 1200
I've changed the AVD resolution to 480 and many other combinations. I've used different built in skins too. Am I missing something?
I'm also using:
webview.getSettings().setLoadWithOverviewMode(true);
webview.getSettings().setUseWideViewPort(true);