title: WebView and loadData showing white screen in Android Constraints Layout
body: <p>I was trying to use Constraints and webView and loadData and all I got was a white screen. When I changed to LinearLayout it worked. Now I try to a LinearLayout inside the Constraint, I get a white screen. Is there a solution to get this work with Constraints? 
  thanks;</p>
  
  <p>MainActivity</p>
  
  <pre><code>package com.example.grady.webviewdemo;
  
  import android.os.Bundle;
  import android.support.v7.app.AppCompatActivity;
  import android.webkit.WebView;
  
  public class MainActivity extends AppCompatActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          WebView mWebView = (WebView) findViewById(R.id.myWebView);
          String myHtmlString = "&lt;html&gt; &lt;head&gt;&lt;meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"&gt;&lt;/head&gt;&lt;body&gt;" +
                  "&lt;h2&gt;This is a HTML Heading in Android WebView.&lt;/h2&gt;\n" +
                  "&lt;p&gt;This is a HTML paragraph in android WebView.&lt;/p&gt;\n" +
                  "\n" +
                  "&lt;h4&gt;Following is HTML Table in WebView&lt;/h4&gt;\n" +
                  "&lt;table border=\"1\" width=\"100%\"&gt;\n" +
                  "  &lt;tr&gt;\n" +
                  "    &lt;td&gt;Android&lt;/td&gt;\n" +
                  "    &lt;td&gt;WebView&lt;/td&gt;\t\t\n" +
                  "    &lt;td&gt;100&lt;/td&gt;\n" +
                  "  &lt;/tr&gt;\n" +
                  "  &lt;tr&gt;\n" +
                  "    &lt;td&gt;Android&lt;/td&gt;\n" +
                  "    &lt;td&gt;WebView&lt;/td&gt;\t\t\n" +
                  "    &lt;td&gt;200&lt;/td&gt;\n" +
                  "  &lt;/tr&gt;\n" +
                  "  &lt;tr&gt;\n" +
                  "    &lt;td&gt;Android&lt;/td&gt;\n" +
                  "    &lt;td&gt;WebView&lt;/td&gt;\t\t\n" +
                  "    &lt;td&gt;300&lt;/td&gt;\n" +
                  "  &lt;/tr&gt;\n" +
                  "&lt;/table&gt;" +
                  "&lt;/body&gt;&lt;/html&gt;";
          mWebView.loadData(myHtmlString, "text/html; charset=UTF-8", null);
      }
  }
  </code></pre>
  
  <p>activity_main.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.constraint.ConstraintLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context="com.example.grady.webviewdemo.MainActivity"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;WebView
              android:id="@+id/myWebView"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent" /&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>