Dialog with transparent background in Android
<p>I am facing a strange problem, how to remove black background from a dialog box in Android. The pic shows the problem. Please guide me to suitable solution.</p>

<p><img src="http://i.stack.imgur.com/o3cat.png" alt="enter image description here"></p>

<p>Thanks </p>

<pre><code>           final Dialog dialog = new Dialog(Screen1.this);
           dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
           dialog.setContentView(R.layout.themechanger); 
</code></pre>
