CenterPopupView弹窗宽度无法占满屏幕
Closed this issue · 1 comments
fumayer commented
XPopup.Builder(requireContext())
.isDestroyOnDismiss(true)
.popupWidth(ScreenUtils.getScreenWidth())
.asCustom(
SignInCenterDialog(requireContext())
).show()
override fun getPopupWidth(): Int {
return ScreenUtils.getScreenWidth()+1000
}
两种方法都试了,还是无法占满屏幕宽度
liuya891012 commented