MM 新增世界聊天

This commit is contained in:
guozhen
2024-12-27 10:32:26 +08:00
committed by xuhuixiang
parent 6e5816c8b3
commit d084dd22a4
38 changed files with 605 additions and 301 deletions

View File

@@ -47,6 +47,13 @@ public class FunConversationTeamViewHolder extends FunConversationBaseViewHolder
viewBinding.tvMyteamtype.setVisibility(View.VISIBLE);
}
if (data.isShiJie) {
viewBinding.tvMyteamtype.setBackgroundResource(R.drawable.cornor_6877fe_6dp);
viewBinding.tvMyteamtype.setTextColor(Color.parseColor("#ffffffff"));
viewBinding.tvMyteamtype.setText(viewBinding.getRoot().getContext().getResources().getString(R.string.guanfang_text));
viewBinding.tvMyteamtype.setVisibility(View.VISIBLE);
}
// viewBinding.groupNumber.setVisibility(View.VISIBLE);
// viewBinding.groupNumber.setText("(" + teamInfo.getMemberCount() + ")");
}

View File

@@ -21,6 +21,16 @@ public class ConversationBean extends BaseBean {
public boolean isHide;
public boolean isShiJie;
public boolean isShiJie() {
return isShiJie;
}
public void setShiJie(boolean shiJie) {
isShiJie = shiJie;
}
public boolean isSelector() {
return isSelector;
}

View File

@@ -2,5 +2,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="6dp" />
<solid android:color="@color/color_6877fe" />
<solid android:color="@color/color_fe6881" />
</shape>

View File

@@ -16,5 +16,6 @@
<color name="fun_conversation_add_pop_text_color">#ffffff</color>
<color name="fun_conversation_add_pop_bg_color">#4c4c4c</color>
<color name="color_6877fe">#6877fe</color>
<color name="color_fe6881">#FE6881</color>
</resources>

View File

@@ -45,4 +45,6 @@
<string name="chat_message_revoke_content">recalled the message</string>
<string name="services_text">Service</string>
<string name="guanfang_text">Official</string>
</resources>

View File

@@ -47,4 +47,5 @@
<string name="chat_message_revoke_content">がメッセージを撤回しました</string>
<string name="services_text">顧客サービス</string>
<string name="guanfang_text">公式</string>
</resources>

View File

@@ -46,4 +46,5 @@
<string name="chat_message_revoke_content">撤回了一条消息</string>
<string name="services_text">客服</string>
<string name="guanfang_text">官方</string>
</resources>

View File

@@ -47,4 +47,5 @@
<string name="chat_message_revoke_content">撤回了一則訊息</string>
<string name="services_text">客服</string>
<string name="guanfang_text">官方</string>
</resources>