修改可以使用
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -26,9 +26,9 @@ public abstract class TUIBaseChatActivity extends BaseLightActivity {
|
||||
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
TUIChatLog.i(TAG, "onCreate " + this);
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.tuichat_chat_activity_layout);
|
||||
initChat(getIntent());
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -70,8 +70,8 @@ public class TUIC2CChatFragment extends TUIBaseChatFragment {
|
||||
}
|
||||
|
||||
private void setTitleBarExtension() {
|
||||
titleBar.getMiddleTitle().setVisibility(GONE);
|
||||
titleBar.setRightIcon(R.drawable.chat_title_bar_more_menu_icon);
|
||||
titleBar.getMiddleTitle().setVisibility(VISIBLE);
|
||||
// titleBar.setRightIcon(R.drawable.chat_title_bar_more_menu_icon);
|
||||
titleBar.setOnRightClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
@@ -101,8 +101,8 @@ public class TUIC2CChatFragment extends TUIBaseChatFragment {
|
||||
}
|
||||
});
|
||||
titleBar.getLeftTitle().setVisibility(GONE);
|
||||
titleBar.getmLeftUserAvatar().setVisibility(VISIBLE);
|
||||
titleBar.getmUserNickName().setVisibility(VISIBLE);
|
||||
titleBar.getmLeftUserAvatar().setVisibility(GONE);
|
||||
titleBar.getmUserNickName().setVisibility(GONE);
|
||||
GlideEngine.loadUserIcon(titleBar.getmLeftUserAvatar(), chatInfo.getFaceUrl());
|
||||
titleBar.getmUserNickName().setText(chatInfo.getChatName());
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ public class GeneralConfig {
|
||||
private boolean excludedFromUnreadCount;
|
||||
private boolean excludedFromLastMessage;
|
||||
private boolean enableAndroidPrivateRing;
|
||||
private boolean msgNeedReadReceipt = false;
|
||||
private boolean msgNeedReadReceipt = true;
|
||||
private boolean enableGroupChatPinMessage = true;
|
||||
private boolean enableFloatWindowForCall = true;
|
||||
private boolean enableMultiDeviceForCall = false;
|
||||
|
||||
@@ -13,6 +13,12 @@
|
||||
android:layout_height="@dimen/page_title_height"
|
||||
/>
|
||||
|
||||
<!-- <com.qxcm.moduleutil.widget.CustomTopBar-->
|
||||
<!-- android:id="@+id/top_bar"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="@dimen/page_title_height"-->
|
||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
||||
|
||||
<View
|
||||
android:id="@+id/view_line"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
Reference in New Issue
Block a user