title: Android WebView background color
body: <p>I am adding to my layout a WebView to display justified text. I want to set the background of the WebView to be transparent to appear like a textView. Here's what I did:</p>
  
  <pre><code>WebView synopsis;
  synopsis=(WebView)findViewById(R.id.synopsis);
  synopsis.setBackgroundColor(0x00000000);
  </code></pre>
  
  <p>It works on the emulator, but when I run the application on my device it doesn't work: what I get is a white background.</p>
  
  <pre><code> String textTitleStyling = "&lt;head&gt;&lt;style&gt;* {margin:0;padding:0;font-size:20; text-align:justify; color:#FFFFFF;}&lt;/style&gt;&lt;/head&gt;";
   String titleWithStyle = textTitleStyling + "&lt;body&gt;&lt;h1&gt;" + movie.synopsis + "&lt;/h1&gt;&lt;/body&gt;";
   synopsis.loadData(textTitleStyling + movie.synopsis, "text/html", "utf-8");
   synopsis = (WebView) findViewById(R.id.synopsis);
   synopsis.getSettings();
   synopsis.setBackgroundColor(0);
  </code></pre>