Can android PopupWindow show another PopupWindow? How many PopupWindow can be opened in the same time? Only one?
The first PopupWindow is displayed normally. But on
After playing with it i've found that
window.showAtLocation(getWindow().getDecorView(), Gravity.CENTER, x, y);
works okay, but
window.showAsDropDown(getWindow().getDecorView(), Gravity.CENTER, x, y);
raises exception! If you use showAtLocation(view) with any view different from getWindow().getDecorView() you'll still have an exception.