Android remove PopupWindow background
<p>I use PopupWindow class for creating custom popup window.</p>

<p>But when I add layout_margin (in my example 15dp) on main there is transparent gray background.</p>

<p>How to remove transparent background?</p>

<p>Please see picture</p>

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

<p>EDIT
here is my code</p>

<pre><code>    window = new PopupWindow(customTool.getContext());
    window.setWidth(WindowManager.LayoutParams.FILL_PARENT);
    window.setHeight(WindowManager.LayoutParams.WRAP_CONTENT);
    window.setTouchable(true);
    window.setFocusable(true);
    window.setOutsideTouchable(true);
    window.setAnimationStyle(R.style.Animations_PopDownMenu_Left);
window.setContentView(customTool);
    window.showAtLocation(customTool, Gravity.NO_GRAVITY, 0, 100);
</code></pre>
