title: Can't make the custom DialogFragment transparent over the Fragment
body: <p>I need to create a dialog over a fragment (that takes up the whole screen). The dialog needs to be a floating dialog that will be positioned over the fragment with the fragment darkened out outside of the fragment..</p>
  
  <p>For the custom Dialog, i have a linearLayout that has curved edges, no matter what i do, the dialog has a black bordering on all sides (very small). I've tried everything to make it transparent and go away (so that all of the dialog is just the linear layout - curved box)</p>
  
  <p>For the DialogFragment, this is what I have for onCreateView</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
      LinearLayout layout =(LinearLayout)inflater.inflate(R.layout.custom_dialog, null);
      LinearLayout item = (LinearLayout)layout.findViewById(R.id.display_item);
      populateItemData(item, inflater);
      return layout;
  }
  </code></pre>
  
  <p>custom_dialog is just a LinearLayout that has android:backgroung set to #000000</p>
  
  <p>This is my style for the custom Dialog</p>
  
  <pre><code>&lt;style name="CustomDialog" parent="android:style/Theme.Dialog"&gt;
      &lt;item name="android:windowBackground"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
      &lt;item name="android:windowIsTranslucent"&gt;true&lt;/item&gt; 
      &lt;item name="android:alwaysDrawnWithCache"&gt;false&lt;/item&gt;
      &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>I tried all kinds of combinations in this style (from what I've seen online) and I can't get rid of that annoying black bordering, I can paint it white or any other color if i set that LinearLayout background to anything other than #000000... </p>
  
  <p>I've spent literally 3-4 hours on this, i hope someone else can help out...</p>