PopupWindow getting clipped on custom keyboard for Android API 28
问题 I made a custom keyboard. When you long press a key, a PopupWindow shows some extra choices above the key. The problem is that in API 28, this popup gets clipped (or even completely hidden for the top row). I had solved this problem for API < 28 with popupWindow.setClippingEnabled(false); However, with API 28 the problem has come back. Here is more of the code: private void layoutAndShowPopupWindow(Key key, int xPosition) { popupWindow = new PopupWindow(popupView, LinearLayout.LayoutParams