Issue
In Android 4, CSS is ignored while navigating back to Webview from next Screen. For first time this works fine.
This behavior is only for Transparent color. Other color works fine.
WebView webView = new WebView(activity);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL) ;
/**
* Default color of webview must be transparent
*/
webView.setBackgroundColor(Color.TRANSPARENT);
Solution
After many tries found it was device issue!!.. :(
Answered By - JAPS
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.