文字
This commit is contained in:
@@ -59,6 +59,7 @@ import com.yunbao.common.utils.L;
|
||||
import com.yunbao.common.utils.RouteUtil;
|
||||
import com.yunbao.common.utils.StringUtil;
|
||||
import com.yunbao.common.utils.ToastUtil;
|
||||
import com.yunbao.common.utils.WordUtil;
|
||||
import com.yunbao.common.views.UserHomeImgsViewHolder;
|
||||
|
||||
import java.io.File;
|
||||
@@ -227,7 +228,7 @@ public class UserHomeActivity extends AbsActivity {
|
||||
}
|
||||
|
||||
if (userInfo.getUserHomeTopInfo().getRong_online().equals("0")) {
|
||||
userStatus.setText(R.string.activity_msg_chat_top_status_online);
|
||||
userStatus.setText(getResources().getString(R.string.activity_msg_chat_top_status_online));
|
||||
userStatusIcon.setImageDrawable(getResources().getDrawable(R.mipmap.icon_green));
|
||||
} else {
|
||||
userStatus.setText(R.string.activity_msg_chat_top_status_offline);
|
||||
@@ -258,7 +259,7 @@ public class UserHomeActivity extends AbsActivity {
|
||||
});
|
||||
tagList = new ArrayList<>();
|
||||
if (!StringUtil.isEmpty(userInfo.getUserHomeTopInfo().getAge())) {
|
||||
tagList.add(userInfo.getUserHomeTopInfo().getAge() + "岁");
|
||||
tagList.add(userInfo.getUserHomeTopInfo().getAge() + (WordUtil.isNewZh() ? "歲" : "Age"));
|
||||
}
|
||||
if (!StringUtil.isEmpty(userInfo.getUserHomeTopInfo().getHeight())) {
|
||||
tagList.add(userInfo.getUserHomeTopInfo().getHeight());
|
||||
@@ -551,9 +552,9 @@ public class UserHomeActivity extends AbsActivity {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
SparseArray<String> array = new SparseArray<>();
|
||||
array.append(1, "不感兴趣");
|
||||
array.append(0, "举报");
|
||||
array.append(2, "加入黑名单");
|
||||
array.append(1, "不感興趣");
|
||||
array.append(0, getResources().getString(R.string.report));
|
||||
array.append(2, getResources().getString(R.string.black_add));
|
||||
DialogUitl.showStringArrayDialog(UserHomeActivity.this, array, new DialogUitl.StringArrayDialogCallback() {
|
||||
@Override
|
||||
public void onItemClick(String text, int tag) {
|
||||
|
||||
Reference in New Issue
Block a user