diff --git a/common/src/main/java/com/yunbao/common/dialog/PromotionElitePopupWindow.java b/common/src/main/java/com/yunbao/common/dialog/PromotionElitePopupWindow.java new file mode 100644 index 000000000..91ae7d785 --- /dev/null +++ b/common/src/main/java/com/yunbao/common/dialog/PromotionElitePopupWindow.java @@ -0,0 +1,27 @@ +package com.yunbao.common.dialog; + +import android.content.Context; + +import androidx.annotation.NonNull; + +import com.lxj.xpopup.core.CenterPopupView; +import com.yunbao.common.R; + +/** + * 升級精英/尊享戰令 + */ +public class PromotionElitePopupWindow extends CenterPopupView { + public PromotionElitePopupWindow(@NonNull Context context) { + super(context); + } + @Override + protected int getImplLayoutId() { + return R.layout.promotion_elite_popup; + } + + // 执行初始化操作,比如:findView,设置点击,或者任何你弹窗内的业务逻辑 + @Override + protected void onCreate() { + super.onCreate(); + } +} diff --git a/common/src/main/res/drawable/background_order_dialog.xml b/common/src/main/res/drawable/background_order_dialog.xml new file mode 100644 index 000000000..51b11b8ab --- /dev/null +++ b/common/src/main/res/drawable/background_order_dialog.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/common/src/main/res/drawable/background_order_dialog_out_layout.png b/common/src/main/res/drawable/background_order_dialog_out_layout.png new file mode 100644 index 000000000..571cb8b81 Binary files /dev/null and b/common/src/main/res/drawable/background_order_dialog_out_layout.png differ diff --git a/common/src/main/res/layout/promotion_elite_popup.xml b/common/src/main/res/layout/promotion_elite_popup.xml new file mode 100644 index 000000000..a7ab027c5 --- /dev/null +++ b/common/src/main/res/layout/promotion_elite_popup.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + +