update 年齡標籤+歲
This commit is contained in:
parent
1442d05262
commit
457e47e885
@ -98,9 +98,12 @@ public class MessageSayHiNotifyDialog extends AbsDialogCenterPopupWindow {
|
|||||||
ImgLoader.display(mContext, userInfoBean.getUser().getAvatar(), avatar);
|
ImgLoader.display(mContext, userInfoBean.getUser().getAvatar(), avatar);
|
||||||
anchorName.setText(userInfoBean.getUser().getUserNicename());
|
anchorName.setText(userInfoBean.getUser().getUserNicename());
|
||||||
((TextView) findViewById(R.id.description)).setText(userInfoBean.getUser().getSignature());
|
((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)
|
WordUtil.getNewString(R.string.dialog_message_say_hi_age)
|
||||||
, userInfoBean.getInfo().getAge()));
|
, userInfoBean.getInfo().getAge()
|
||||||
|
,WordUtil.isNewZh()?"歲":"Age"
|
||||||
|
)
|
||||||
|
);
|
||||||
showTag();
|
showTag();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@ public class PDLiveConversationActivity extends AbsActivity implements View.OnCl
|
|||||||
|
|
||||||
private void showTag() {
|
private void showTag() {
|
||||||
List<String> tags = new ArrayList<>();
|
List<String> tags = new ArrayList<>();
|
||||||
tags.add(userInfoBean.getInfo().getAge());
|
tags.add(userInfoBean.getInfo().getAge()+(WordUtil.isNewZh()?"歲":"Age"));
|
||||||
if (!StringUtil.isEmpty(userInfoBean.getInfo().getCareer())) {
|
if (!StringUtil.isEmpty(userInfoBean.getInfo().getCareer())) {
|
||||||
tags.add(userInfoBean.getInfo().getCareer());
|
tags.add(userInfoBean.getInfo().getCareer());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user