Apply a custom theme to your activity, and null out theandroid:windowContentOverlay attribute.
Define a theme in themes.xml:
<style name="YourTheme">
...
<item name="android:windowContentOverlay">@null</item>
...
</style>
Apply the theme on your application or the activity inAndroidManifest.xml:
<application android:theme="@style/YourTheme"
... >