Popupwindow deactivate border
<p>I'm trying to create a overlay show notifications if they arrive on the bottom of my app. </p>

<p>I'm planing on doing so with a PopupWindow because it's easy to integrate in every activity without the hassle to have a RelativeLayout which has the overlay as last element on the screen.</p>

<p>My test code looks like that:</p>

<pre><code> popUp = new PopupWindow(this);
 popUp.setContentView(LayoutInflater.from(this).inflate(R.layout.testwindow, null));
 popUp.showAtLocation(layout, Gravity.BOTTOM, 0, 0);
 popUp.update(0, 0, width, height);
</code></pre>

<p>where width and height are the size of my device. But the problem is the popup window doesn't doesn't overlay the whole screen, a little border is shown - which isn't in my layout - and some padding.</p>

<p>I already tried to set the border in the layout file to 0px and to add an offset and extra width to the measured screen width. But the padding on the left can't be removed.</p>

<p>What could I do to stretch the overlay to the whole width of the window? Now it looks like that:
<img src="http://i.stack.imgur.com/ymaSP.png" alt="not working overlay"></p>
