 <p>Did you use DialogFragments ? The missing part will be the setStyle call then. You have to do this before the Fragment gets shown.</p> <pre><code>@NonNull public static SlowConnectionDialogFragment newInstance(final String errorText) { final Bundle bundle = BundleArgs.create(errorText); final SlowConnectionDialogFragment instance = new SlowConnectionDialogFragment(); instance.setStyle(STYLE_NO_TITLE, android.R.style.Theme_DeviceDefault_Light_Dialog); instance.setArguments(bundle); return instance; } </code></pre> <p>For Dialogs are some kind of other Styling properties needed, to get the floating window back. So you should consider creating another theme for Dialogs.</p>