修改守护问题,添加全服通知功能
This commit is contained in:
@@ -68,6 +68,7 @@ public class GuardUpgradePopup extends CenterPopupView {
|
||||
} else {
|
||||
hintStringBuffer.append("Your guardian level has reached level ")
|
||||
.append(mUpgradesModel.getLevel())
|
||||
.append(" You can receive the following rewards")
|
||||
;
|
||||
}
|
||||
leave_hint.setText(hintStringBuffer.toString());
|
||||
|
||||
@@ -0,0 +1,227 @@
|
||||
package com.yunbao.common.event;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.yunbao.common.bean.BaseModel;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class AllServerNotifyFFGGGDJANEvent extends BaseModel {
|
||||
|
||||
@SerializedName("_method_")
|
||||
private String method;
|
||||
@SerializedName("action")
|
||||
private String action;
|
||||
@SerializedName("msg_cn")
|
||||
private String msgCn;
|
||||
@SerializedName("msg_en")
|
||||
private String msgEn;
|
||||
@SerializedName("uid")
|
||||
private String uid;
|
||||
@SerializedName("liveuid")
|
||||
private String liveuid;
|
||||
@SerializedName("background_image")
|
||||
private String backgroundImage;
|
||||
@SerializedName("style")
|
||||
private List<StyleDTO> style;
|
||||
@SerializedName("jump_type")
|
||||
private String jumpType;
|
||||
@SerializedName("link")
|
||||
private String link;
|
||||
@SerializedName("button_image")
|
||||
private String buttonImage;
|
||||
@SerializedName("button_msg_cn")
|
||||
private String buttonMsgCn;
|
||||
@SerializedName("button_msg_en")
|
||||
private String buttonMsgEn;
|
||||
@SerializedName("button_style")
|
||||
private List<ButtonStyleDTO> buttonStyle;
|
||||
@SerializedName("h5_type")
|
||||
private String h5Type;
|
||||
|
||||
public String getH5Type() {
|
||||
return h5Type;
|
||||
}
|
||||
|
||||
public AllServerNotifyFFGGGDJANEvent setH5Type(String h5Type) {
|
||||
this.h5Type = h5Type;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getMethod() {
|
||||
return method;
|
||||
}
|
||||
|
||||
public void setMethod(String method) {
|
||||
this.method = method;
|
||||
}
|
||||
|
||||
public String getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
public void setAction(String action) {
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
public String getMsgCn() {
|
||||
return msgCn;
|
||||
}
|
||||
|
||||
public void setMsgCn(String msgCn) {
|
||||
this.msgCn = msgCn;
|
||||
}
|
||||
|
||||
public String getMsgEn() {
|
||||
return msgEn;
|
||||
}
|
||||
|
||||
public void setMsgEn(String msgEn) {
|
||||
this.msgEn = msgEn;
|
||||
}
|
||||
|
||||
public String getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public void setUid(String uid) {
|
||||
this.uid = uid;
|
||||
}
|
||||
|
||||
public String getLiveuid() {
|
||||
return liveuid;
|
||||
}
|
||||
|
||||
public void setLiveuid(String liveuid) {
|
||||
this.liveuid = liveuid;
|
||||
}
|
||||
|
||||
public String getBackgroundImage() {
|
||||
return backgroundImage;
|
||||
}
|
||||
|
||||
public void setBackgroundImage(String backgroundImage) {
|
||||
this.backgroundImage = backgroundImage;
|
||||
}
|
||||
|
||||
public List<StyleDTO> getStyle() {
|
||||
return style;
|
||||
}
|
||||
|
||||
public void setStyle(List<StyleDTO> style) {
|
||||
this.style = style;
|
||||
}
|
||||
|
||||
public String getJumpType() {
|
||||
return jumpType;
|
||||
}
|
||||
|
||||
public void setJumpType(String jumpType) {
|
||||
this.jumpType = jumpType;
|
||||
}
|
||||
|
||||
public String getLink() {
|
||||
return link;
|
||||
}
|
||||
|
||||
public void setLink(String link) {
|
||||
this.link = link;
|
||||
}
|
||||
|
||||
public String getButtonImage() {
|
||||
return buttonImage;
|
||||
}
|
||||
|
||||
public void setButtonImage(String buttonImage) {
|
||||
this.buttonImage = buttonImage;
|
||||
}
|
||||
|
||||
public String getButtonMsgCn() {
|
||||
return buttonMsgCn;
|
||||
}
|
||||
|
||||
public void setButtonMsgCn(String buttonMsgCn) {
|
||||
this.buttonMsgCn = buttonMsgCn;
|
||||
}
|
||||
|
||||
public String getButtonMsgEn() {
|
||||
return buttonMsgEn;
|
||||
}
|
||||
|
||||
public void setButtonMsgEn(String buttonMsgEn) {
|
||||
this.buttonMsgEn = buttonMsgEn;
|
||||
}
|
||||
|
||||
public List<ButtonStyleDTO> getButtonStyle() {
|
||||
return buttonStyle;
|
||||
}
|
||||
|
||||
public void setButtonStyle(List<ButtonStyleDTO> buttonStyle) {
|
||||
this.buttonStyle = buttonStyle;
|
||||
}
|
||||
|
||||
public static class StyleDTO {
|
||||
@SerializedName("str_cn")
|
||||
private String strCn;
|
||||
@SerializedName("str_en")
|
||||
private String strEn;
|
||||
@SerializedName("colour")
|
||||
private String colour;
|
||||
|
||||
public String getStrCn() {
|
||||
return strCn;
|
||||
}
|
||||
|
||||
public void setStrCn(String strCn) {
|
||||
this.strCn = strCn;
|
||||
}
|
||||
|
||||
public String getStrEn() {
|
||||
return strEn;
|
||||
}
|
||||
|
||||
public void setStrEn(String strEn) {
|
||||
this.strEn = strEn;
|
||||
}
|
||||
|
||||
public String getColour() {
|
||||
return colour;
|
||||
}
|
||||
|
||||
public void setColour(String colour) {
|
||||
this.colour = colour;
|
||||
}
|
||||
}
|
||||
|
||||
public static class ButtonStyleDTO {
|
||||
@SerializedName("str_cn")
|
||||
private String strCn;
|
||||
@SerializedName("str_en")
|
||||
private String strEn;
|
||||
@SerializedName("colour")
|
||||
private String colour;
|
||||
|
||||
public String getStrCn() {
|
||||
return strCn;
|
||||
}
|
||||
|
||||
public void setStrCn(String strCn) {
|
||||
this.strCn = strCn;
|
||||
}
|
||||
|
||||
public String getStrEn() {
|
||||
return strEn;
|
||||
}
|
||||
|
||||
public void setStrEn(String strEn) {
|
||||
this.strEn = strEn;
|
||||
}
|
||||
|
||||
public String getColour() {
|
||||
return colour;
|
||||
}
|
||||
|
||||
public void setColour(String colour) {
|
||||
this.colour = colour;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,17 +48,24 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rewards_line1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="13dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/rewards_img1"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:scaleType="fitXY" />
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/icon_ssssbbbbbsd">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/rewards_img1"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:scaleType="fitXY" />
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/rewards_text1"
|
||||
@@ -66,6 +73,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:gravity="center"
|
||||
android:maxLines="2"
|
||||
android:text="獎勵名稱"
|
||||
android:textColor="#FF8503"
|
||||
android:textSize="14sp" />
|
||||
@@ -73,7 +81,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rewards_line2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginTop="32dp"
|
||||
@@ -81,11 +89,17 @@
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/rewards_img2"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:scaleType="fitXY" />
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/icon_ssssbbbbbsd">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/rewards_img2"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:scaleType="fitXY" />
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/rewards_text2"
|
||||
@@ -93,6 +107,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:gravity="center"
|
||||
android:maxLines="2"
|
||||
android:text="獎勵名稱"
|
||||
android:textColor="#FF8503"
|
||||
android:textSize="14sp" />
|
||||
@@ -100,17 +115,23 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/rewards_line3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="13dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/rewards_img3"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:scaleType="fitXY" />
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/icon_ssssbbbbbsd">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/rewards_img3"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:scaleType="fitXY" />
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/rewards_text3"
|
||||
@@ -118,6 +139,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="6dp"
|
||||
android:gravity="center"
|
||||
android:maxLines="2"
|
||||
android:text="獎勵名稱"
|
||||
android:textColor="#FF8503"
|
||||
android:textSize="14sp" />
|
||||
@@ -132,21 +154,23 @@
|
||||
android:layout_marginEnd="13dp"
|
||||
android:layout_marginBottom="38dp">
|
||||
|
||||
<Button
|
||||
<TextView
|
||||
android:id="@+id/view_grade"
|
||||
android:layout_width="94dp"
|
||||
android:layout_height="36dp"
|
||||
android:background="@drawable/button_guard_upgrade"
|
||||
android:gravity="center"
|
||||
android:text="@string/view_grade"
|
||||
android:textColor="#893D0D"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<Button
|
||||
<TextView
|
||||
android:id="@+id/confirm"
|
||||
android:layout_width="94dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_gravity="end"
|
||||
android:background="@drawable/button_guard_upgrade"
|
||||
android:gravity="center"
|
||||
android:text="@string/to_receive"
|
||||
android:textColor="#893D0D"
|
||||
android:textSize="14sp" />
|
||||
|
||||
BIN
common/src/main/res/mipmap-xxhdpi/icon_ssssbbbbbsd.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/icon_ssssbbbbbsd.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@@ -170,7 +170,7 @@
|
||||
<string name="guard_my">My</string>
|
||||
<string name="theguardianof">Become the guardian of %s</string>
|
||||
<string name="favoriteanchor">Open a guard for your favorite anchor</string>
|
||||
<string name="guardiandate">The guardian date expires at: %s</string>
|
||||
<string name="guardiandate">Guardianship date is up to: %s</string>
|
||||
<string name="get">GET</string>
|
||||
<string name="only_one">Only one can be given away~</string>
|
||||
<string name="guard_guard">Guard</string>
|
||||
@@ -1457,7 +1457,7 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="guardian_privilege">Guardianship privileges</string>
|
||||
<string name="be_their_exclusive_guardian">Be the anchor‘s guardian</string>
|
||||
<string name="not_yet_open">Not opened</string>
|
||||
<string name="tas_guardian_group">guardian group</string>
|
||||
<string name="tas_guardian_group">Guardian group ></string>
|
||||
<string name="open_the_kings_guard">Activate King Guardian</string>
|
||||
<string name="open_the_start_guard">Activate Star Guardian</string>
|
||||
<string name="open_the_god_guard">Activate God Guardian</string>
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
<string name="guard_my">My</string>
|
||||
<string name="theguardianof">Become the guardian of %s</string>
|
||||
<string name="favoriteanchor">Open a guard for your favorite anchor</string>
|
||||
<string name="guardiandate">The guardian date expires at: %s</string>
|
||||
<string name="guardiandate">Guardianship date is up to: %s</string>
|
||||
<string name="get">GET</string>
|
||||
<string name="only_one">Only one can be given away~</string>
|
||||
<string name="guard_guard">Guard</string>
|
||||
@@ -1460,7 +1460,7 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="guardian_privilege">Guardianship privileges</string>
|
||||
<string name="be_their_exclusive_guardian">Be the anchor‘s guardian</string>
|
||||
<string name="not_yet_open">Not opened</string>
|
||||
<string name="tas_guardian_group">guardian group</string>
|
||||
<string name="tas_guardian_group">Guardian group ></string>
|
||||
<string name="open_the_kings_guard">Activate King Guardian</string>
|
||||
<string name="open_the_start_guard">Activate Star Guardian</string>
|
||||
<string name="open_the_god_guard">Activate God Guardian</string>
|
||||
|
||||
Reference in New Issue
Block a user