diff --git a/common/src/main/java/com/yunbao/common/dialog/ActivateEliteBattleOrderPopupWindow.java b/common/src/main/java/com/yunbao/common/dialog/ActivateEliteBattleOrderPopupWindow.java
index 7a64b2d97..cfe1e3c4e 100644
--- a/common/src/main/java/com/yunbao/common/dialog/ActivateEliteBattleOrderPopupWindow.java
+++ b/common/src/main/java/com/yunbao/common/dialog/ActivateEliteBattleOrderPopupWindow.java
@@ -2,6 +2,10 @@ package com.yunbao.common.dialog;
import android.app.Activity;
import android.content.Context;
+import android.text.Spannable;
+import android.text.SpannableString;
+import android.text.style.ImageSpan;
+import android.view.View;
import android.widget.Button;
import android.widget.TextView;
@@ -18,7 +22,7 @@ import com.yunbao.common.views.weight.ViewClicksAntiShake;
public class ActivateEliteBattleOrderPopupWindow extends CenterPopupView {
private boolean elites;//是否精英战令
private String spendMoney;//花费钱
- private Button buttonWarOrder;
+ private View buttonWarOrder;
private LiberalBattlePassPopupWindow.LiberalBattlePassCallback mPassCallback;
private String mBattlePassTypeId;
@@ -65,10 +69,8 @@ public class ActivateEliteBattleOrderPopupWindow extends CenterPopupView {
}
});
//中文按钮文字
- StringBuffer stringBuffer = new StringBuffer();
- stringBuffer.append(spendMoney)
- .append(WordUtil.isNewZh()?"鑽開通":"Activate ");
- buttonWarOrder.setText(stringBuffer.toString());
+
+ ((TextView)findViewById(R.id.button_war_order_text)).setText(spendMoney);
ViewClicksAntiShake.clicksAntiShake(buttonWarOrder, new ViewClicksAntiShake.ViewClicksCallBack() {
@Override
diff --git a/common/src/main/res/layout/activate_elite_battle_order_popup.xml b/common/src/main/res/layout/activate_elite_battle_order_popup.xml
index 8eccea3fd..19e1e0051 100644
--- a/common/src/main/res/layout/activate_elite_battle_order_popup.xml
+++ b/common/src/main/res/layout/activate_elite_battle_order_popup.xml
@@ -1,145 +1,176 @@
-
-
+ android:layout_marginEnd="17dp">
-
-
-
-
-
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ android:background="@drawable/background_order_dialog"
+ android:layout_width="0dp"
+ android:layout_height="0dp"/>
+ android:orientation="vertical"
+ android:layout_marginBottom="15dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
+
+
+
+
+
+
+ android:layout_marginStart="15dp"
+ android:layout_marginTop="20dp"
+ android:layout_marginEnd="15dp">
-
-
-
+ android:orientation="vertical">
-
+
+
+
+
+
+
+
+ android:orientation="vertical">
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+ android:layout_gravity="center"
+ android:layout_marginStart="10dp"
+ android:layout_marginTop="12dp"
+ android:layout_marginEnd="10dp"
+ android:text="@string/has_reached_level_after_opening"
+ android:textColor="#0D21B2"
+ android:textSize="13sp" />
-
-
+ android:id="@+id/button_war_order"
+ android:layout_width="150dp"
+ android:layout_height="48dp"
+ android:layout_gravity="center"
+ android:layout_marginTop="10dp"
+ android:background="@mipmap/button_war_order"
+ android:gravity="center">
+ android:textColor="@color/white"
+ android:textSize="15sp"
+ android:textStyle="bold"
+ tools:text="123" />
+
+
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/main/src/main/java/com/yunbao/main/adapter/BattlePassMissionAdapter.java b/main/src/main/java/com/yunbao/main/adapter/BattlePassMissionAdapter.java
index 4bd010f67..c677a586d 100644
--- a/main/src/main/java/com/yunbao/main/adapter/BattlePassMissionAdapter.java
+++ b/main/src/main/java/com/yunbao/main/adapter/BattlePassMissionAdapter.java
@@ -185,7 +185,7 @@ public class BattlePassMissionAdapter extends RecyclerView.Adapter() {
@Override
public void onSuccess(HttpCallbackModel data) {
- ToastUtil.show(data.getCode() + "|" + data.getMsg());
+ ToastUtil.show( data.getMsg());
if (onItemClickListener != null) {
onItemClickListener.onItemClick(task, data.getCode());
}
diff --git a/main/src/main/java/com/yunbao/main/adapter/BattlePassRewardAdapter.java b/main/src/main/java/com/yunbao/main/adapter/BattlePassRewardAdapter.java
index f96b9ff06..c123cf1f8 100644
--- a/main/src/main/java/com/yunbao/main/adapter/BattlePassRewardAdapter.java
+++ b/main/src/main/java/com/yunbao/main/adapter/BattlePassRewardAdapter.java
@@ -192,6 +192,9 @@ public class BattlePassRewardAdapter extends RecyclerView.Adapter
@@ -38,13 +38,19 @@