junixapp/XPopup

isCenterHorizontal()方法无效

Closed this issue · 4 comments

new XPopup.Builder(this)
.hasStatusBar(false)
.hasNavigationBar(false)
.isDestroyOnDismiss(true) //对于只使用一次的弹窗,推荐设置这个
.popupPosition(PopupPosition.Top)//手动指定弹窗出现在目标的什么位置,对Attach和Drawer类型弹窗生效
.atView(mIvSwitchAlbumCalendar)
.isCenterHorizontal(true)
.hasShadowBg(false) // 去掉半透明背景
.asCustom(new CustomBubbleAttachPopup(this))
.show();

image

不是最新版吧

是最新的

2.9.15版本

@Jasperben 更新到2.9.16即可