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);
|
||||
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();
|
||||
}
|
||||
|
||||
|
@ -320,7 +320,7 @@ public class PDLiveConversationActivity extends AbsActivity implements View.OnCl
|
||||
|
||||
private void showTag() {
|
||||
List<String> 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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user