I have an Activity which is displayed in full screen mode (using android:theme="@android:style/Theme.NoTitleBar.Fullscreen"). When I launch a DialogFragment from this Activity the kindle menu appears, how to keep it hidden ?
I have tried fullscreen flags as https://developer.amazon.com/sdk/fire/screen-layout.html#StatusSoft
Try this in your DialogFragment class:
@Override
public Dialog getDialog()
{
Dialog dialog = super.getDialog();
dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
return dialog;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With