title: Dialog with transparent background in Android
body: <p>How do I remove the black background from a dialog box in Android. The pic shows the problem. </p>
  
  <p><img src="https://i.stack.imgur.com/o3cat.png" alt="enter image description here"></p>
  
  <pre><code>final Dialog dialog = new Dialog(Screen1.this);
  dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
  dialog.setContentView(R.layout.themechanger); 
  </code></pre>