Android WebView shows blank page
<p>The problem occurs only some devices. My application has about 1.9 million users, I get this problem as feedback from some users. They have sent screen shots too.</p>

<p><strong>Detailed Explanation of problem:</strong> The WebView cannot show my static HTML content on some devices, shows only blank page. But 99% of devices works fine. </p>

<p>According to user feedbacks, this problem occurs on many different brands like Samsung, Sony, LG, ZTE etc. Also they have different versions of Android OS from 4.0.3 to 5.1.1</p>

<p>Tried all Genymotion Emulators and many real devices, all worked perfectly for me. Never seen this bug personally. But some users keep reporting this issue for 1.5 years.</p>

<p>Also my WebView's layout_height parameter is wrap_content, but it behaves like it has some invisible content(a couple of lines). Normally, it should have lots of lines.</p>

<p><a href="https://i.stack.imgur.com/cY1Ll.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cY1Ll.png" alt="Screen Shot"></a></p>

<p>My webview settings:</p>

<pre><code>webView = (WebView) v.findViewById(R.id.webView);
webView.getSettings().setJavaScriptEnabled(true);
webView.setWebViewClient(wvClient);
webView.getSettings().setTextSize(WebSettings.TextSize.NORMAL);

String start = "&lt;html&gt;&lt;head&gt;&lt;meta name=\"viewport\" content=\"user-scalable=no\"/&gt;&lt;meta http-equiv='Content-Type' content='text/html' charset='UTF-8' /&gt;&lt;style&gt;a {color:#9b252e;}\nimg.size-full{width:100%; height:auto;} iframe{width:100%; height:auto;} img{display: inline; height: auto; max-width: 100%;}&lt;/style&gt;&lt;/head&gt;&lt;body&gt;";
String end = "&lt;/body&gt;&lt;/html&gt;";

webView.loadDataWithBaseURL(null, start + myHTMLContent + end, null, "text/html; charset=UTF-8", null);
</code></pre>

<p>My Questions are: </p>

<ol>
<li>What can cause that problem?</li>
<li>How can I fix this?</li>
<li>Can it be related to WebView version of currently installed on device?</li>
</ol>

<p>Edit: I have already checked every related questions &amp; answers on stackoverflow.</p>