MM 新增世界聊天
This commit is contained in:
@@ -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() + ")");
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -47,4 +47,5 @@
|
||||
|
||||
<string name="chat_message_revoke_content">がメッセージを撤回しました</string>
|
||||
<string name="services_text">顧客サービス</string>
|
||||
<string name="guanfang_text">公式</string>
|
||||
</resources>
|
||||
@@ -46,4 +46,5 @@
|
||||
|
||||
<string name="chat_message_revoke_content">撤回了一条消息</string>
|
||||
<string name="services_text">客服</string>
|
||||
<string name="guanfang_text">官方</string>
|
||||
</resources>
|
||||
@@ -47,4 +47,5 @@
|
||||
|
||||
<string name="chat_message_revoke_content">撤回了一則訊息</string>
|
||||
<string name="services_text">客服</string>
|
||||
<string name="guanfang_text">官方</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user