I want to determine the width and the height of the WebView. I have already tried it using:
WebView
webView.getWidth(); webView.getHeight();
you are checking size of webview too early. you can try this in following method
@Override public void onWindowFocusChanged(boolean hasFocus) { // TODO Auto-generated method stub super.onWindowFocusChanged(hasFocus); webView.getWidth(); webView.getHeight(); }