In Motorola Droid Mini(Kitkat) the webview content is not fitting the screen. In all other devices its working fine. I am using following settings for my webview. Is I am missing anything or how can I make it to fit the screen. Please help me to solve this problem.
web.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
web.setSaveEnabled(true);
web.setInitialScale(1);
web.setBackgroundColor(0);
WebSettings myWebSettings = web.getSettings();
myWebSettings.setJavaScriptEnabled(true);
myWebSettings.setSupportZoom(true);
myWebSettings.setUserAgentString("android");
myWebSettings.setLoadWithOverviewMode(true);
myWebSettings.setUseWideViewPort(true);
myWebSettings.setDomStorageEnabled(true);
myWebSettings.setAppCacheEnabled(false);
myWebSettings.setCacheMode(WebSettings.LOAD_NO_CACHE);
EDIT: My webview XML is
<WebView
and roid:id="@+id/webView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />