title: How to set backGround color Black and text white in android webview
body: <pre><code>package com.example.webviewtheme;
  
  import android.os.Bundle;
  import android.app.Activity;
  import android.view.Menu;
  import android.webkit.WebView;
  
  public class MainActivity extends Activity {
  WebView webview1;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
  
          webview1=(WebView)findViewById(R.id.webView1);
  
          String rawHTML = "&lt;HTML&gt;"+  
           "&lt;body style='color: #000000; background-color: #ffffff'&gt;&lt;h1&gt;Hello Android &lt;/h1&gt;&lt;/body&gt;"+  
       "&lt;/HTML&gt;";
          webview1.setBackgroundColor(00000000);
          webview1.loadData(rawHTML, "text/HTML", "UTF-8");
      }
  
  }
  </code></pre>
  
  <p>This is My code i want to set background color black and text white of webView i have tried to apply In Html But Unable to get Out put please help me  how to set Night Mode in Webview text and backGround </p>