Hi,

I have a WebView in my android application which opens my web application. 
my web application has it's own stylesheet and it works properly up to 
Android SDK 4.0. If i use my application in Android SDK 4.1 & above, it 
doesn't support my stylesheet.

My WebView code,

webview = (WebView) findViewById(R.id.webview);
webview.getSettings().setJavaScriptEnabled(true);
webview.getSettings().setSavePassword(false);
webview.getSettings().setAppCacheEnabled(false);
webview.getSettings().setLoadWithOverviewMode(false);
webview.getSettings().setUseWideViewPort(false);
webview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
webview.getSettings().setRenderPriority(RenderPriority.HIGH);
webview.getSettings().setBuiltInZoomControls(true);
webview.getSettings().setSupportZoom(true);
webview.getSettings().setLoadsImagesAutomatically(true);
webview.getSettings().setAllowFileAccess(true);
webview.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);
webview.getSettings().setDomStorageEnabled(true);

I'm using Android SDK 4.1 and targetSdkVersion is 16

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to