title: CSS and JavaScript not working in Android WebView
body: <p>My <strong>MainActivity.java</strong> file looks like below:</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          String myUrl = "file:///android_asset/index.html";
          WebView view = (WebView) this.findViewById(R.id.webView);
          view.getSettings().setJavaScriptEnabled(true);
          view.getSettings().setDomStorageEnabled(true);
          view.getSettings().setSaveFormData(true);
          view.setWebChromeClient(new WebChromeClient());
          view.loadUrl(myUrl);
      }
  }
  </code></pre>
  
  <p>Now, <strong>activity_main.xml</strong> file contains following codes:</p>
  
  <pre><code>&lt;WebView
          android:id="@+id/webView"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          tools:layout_editor_absoluteX="0dp"
          tools:layout_editor_absoluteY="0dp" /&gt;
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>
  
  <p>And, in the html page <strong>index.html</strong>, I have been linking CSS and JS files like below:</p>
  
  <pre><code>&lt;link rel="stylesheet" href="file:///android_asset/css/bootstrap.min.css"&gt;
  &lt;script src="file:///android_asset/js/popper.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I am seeing the html content; but, the CSS and JavaScript files are not in action at all. The page looks plain. I am new to Android, I am certainly missing something crucial here.</p>