English | 中文
A compatible Popwindow adapt android 7.x , 8.x etc, Mainly adapts to the height of the full-screen problem after calling popupWindow.showAsDropDown()
when setting the height to match_parent, and adapting whether there is a virtual button and whether the virtual button is displayed.
implementation 'com.jankin.popupwindowcompat:lib:1.0.4'
Use PopupWindowCompat instead of PopupWindow, the same as PopupWindow.