wmParams.type=2003;  这个值越大越是顶层

解决方案 »

  1.   

    /**
      * Window type: an application window that serves as the "base" window
      * of the overall application; all other application windows will
      * appear on top of it.
      * In multiuser systems shows only on the owning user's window.
      */
    public static final int TYPE_BASE_APPLICATION   = 1;//等于1时候,任何其他窗口都会覆盖在它上面/**
      * End of types of system windows.
      */
    public static final int LAST_SYSTEM_WINDOW      = 2999;//最大值试试看可以不