AlertDialog d = b.create();
d.setView(v1);
d.setInverseBackgroundForced(true);
d.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
d.show();
d对话框弹出时,在所有程序之上。 我现在的需求是---当d对话框显示在屏幕上,启动了一个activity,此时这个activity载入的xml,所显示的内容依然还是在d的下面。有什么方式可以让activity的页面在d的上面。我尝试在此activity的oncreate()中使用getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT)。但是依然没起作用。 求指导。。谢谢