diff --git a/common/src/main/java/com/yunbao/common/dialog/MessageSayHiNotifyDialog.java b/common/src/main/java/com/yunbao/common/dialog/MessageSayHiNotifyDialog.java index ca09f03..51bf113 100644 --- a/common/src/main/java/com/yunbao/common/dialog/MessageSayHiNotifyDialog.java +++ b/common/src/main/java/com/yunbao/common/dialog/MessageSayHiNotifyDialog.java @@ -98,9 +98,12 @@ public class MessageSayHiNotifyDialog extends AbsDialogCenterPopupWindow { ImgLoader.display(mContext, userInfoBean.getUser().getAvatar(), avatar); anchorName.setText(userInfoBean.getUser().getUserNicename()); ((TextView) findViewById(R.id.description)).setText(userInfoBean.getUser().getSignature()); - ViewUtils.findViewById(findViewById(R.id.age), R.id.tag, TextView.class).setText(String.format("%s%s", + ViewUtils.findViewById(findViewById(R.id.age), R.id.tag, TextView.class).setText(String.format("%s%s%s", WordUtil.getNewString(R.string.dialog_message_say_hi_age) - , userInfoBean.getInfo().getAge())); + , userInfoBean.getInfo().getAge() + ,WordUtil.isNewZh()?"歲":"Age" + ) + ); showTag(); } diff --git a/main/src/main/java/com/yunbao/main/activity/PDLiveConversationActivity.java b/main/src/main/java/com/yunbao/main/activity/PDLiveConversationActivity.java index 72b2ab8..fb27a69 100644 --- a/main/src/main/java/com/yunbao/main/activity/PDLiveConversationActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/PDLiveConversationActivity.java @@ -320,7 +320,7 @@ public class PDLiveConversationActivity extends AbsActivity implements View.OnCl private void showTag() { List tags = new ArrayList<>(); - tags.add(userInfoBean.getInfo().getAge()); + tags.add(userInfoBean.getInfo().getAge()+(WordUtil.isNewZh()?"歲":"Age")); if (!StringUtil.isEmpty(userInfoBean.getInfo().getCareer())) { tags.add(userInfoBean.getInfo().getCareer()); }