I add view to WindowManager using the code below (It's brief version), but I want to set the window type it appear below AlertDialog
Windowmanager mWindowManager = (WindowManager) getSystemService(Context.WINDOW_SERVICE);
WindowManager.LayoutParams.TYPE_PHONE
mWindowManager.addView(window, window.getLayoutParams());