Try showing FragmentDialog. If Activity is not FragmentActivity try to get a Dialog and show it. If cannot just do not do anything.