From d08861a0827c4baf95ff931500d25ad8dc522d7c Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Sat, 23 Mar 2024 15:19:25 +0800 Subject: [PATCH] =?UTF-8?q?fix=20[=E6=B3=A8=E5=86=8C=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E4=B8=8D=E9=9C=80=E8=A6=81=E9=80=89=E6=8B=A9=E6=80=A7=E5=88=AB?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/main/activity/CompleteUserInfoActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/src/main/java/com/yunbao/main/activity/CompleteUserInfoActivity.java b/main/src/main/java/com/yunbao/main/activity/CompleteUserInfoActivity.java index dba9107..476c396 100644 --- a/main/src/main/java/com/yunbao/main/activity/CompleteUserInfoActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/CompleteUserInfoActivity.java @@ -117,7 +117,7 @@ public class CompleteUserInfoActivity extends AbsActivity { return; } if (man.getTag() == null && woman.getTag() == null) { - ToastUtil.show("請選擇性別"); + ToastUtil.show(WordUtil.isNewZh()?"請選擇性別":"Please select gender"); return; } @@ -242,7 +242,7 @@ public class CompleteUserInfoActivity extends AbsActivity { void initSexView() { - ViewUtils.findViewById(man, R.id.sex_bg).setBackgroundResource(R.drawable.complete_user_info_sex_man); + ViewUtils.findViewById(man, R.id.sex_bg).setBackgroundResource(R.drawable.dialog_bg_chat_status_config_unselect); ViewUtils.findViewById(man, R.id.sex_icon, ImageView.class).setImageTintList(ColorStateList.valueOf(Color.parseColor("#00A3FF"))); ViewUtils.findViewById(man, R.id.sex_top_icon, ImageView.class).setImageTintList(ColorStateList.valueOf(Color.parseColor("#00A3FF"))); ViewUtils.findViewById(woman, R.id.sex_bg).setBackgroundResource(R.drawable.dialog_bg_chat_status_config_unselect); @@ -251,7 +251,7 @@ public class CompleteUserInfoActivity extends AbsActivity { ViewUtils.findViewById(woman, R.id.sex_text, TextView.class).setText(R.string.activity_reg_user_info_sex_woman); ViewUtils.findViewById(woman, R.id.sex_text, TextView.class).setTextColor(Color.parseColor("#333333")); ViewUtils.findViewById(man, R.id.sex_text, TextView.class).setTextColor(Color.parseColor("#00A3FF")); - man.setTag("man"); + man.setTag(null); woman.setTag(null); man.setOnClickListener(view -> { ViewUtils.findViewById(man, R.id.sex_bg).setBackgroundResource(R.drawable.complete_user_info_sex_man);