junixapp/XPopup

[bug]: 全屏View没有全屏

marvin-an opened this issue · 0 comments

XPopup版本
com.github.li-xiaojun:XPopup:2.9.19

手机系统和型号
IQOO Neo5 Android12
分辨率:1080x2400

描述你的问题
问题: 在一些分辨率下全屏的Popup会出现不全屏的情况。代码如下,错误问题如截图。

val popup = XPopup.Builder(context)
             .isLightStatusBar(true)
            .dismissOnBackPressed(true) // 按返回键是否关闭弹窗,默认为true
            .setPopupCallback(onSimpleCallback) // 设置弹窗回调
            .asCustom(CustomFullScreenLoadingPopup(context))
            .show()

CustomFullScreenLoadingPopup继承自FullScreenPopupView

image