From 5e2e1fc7fc23d5fa035608bc415e9eac73ce2e37 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 27 十一月 2024 13:11:20 +0800
Subject: [PATCH] 2024年11月27日13:11:17

---
 app/src/main/java/com/hdl/photovoltaic/ui/newC/MessageCenterList.java |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/newC/MessageCenterList.java b/app/src/main/java/com/hdl/photovoltaic/ui/newC/MessageCenterList.java
index 5235162..a05b852 100644
--- a/app/src/main/java/com/hdl/photovoltaic/ui/newC/MessageCenterList.java
+++ b/app/src/main/java/com/hdl/photovoltaic/ui/newC/MessageCenterList.java
@@ -3,6 +3,7 @@
 
 import android.content.DialogInterface;
 import android.content.Intent;
+import android.graphics.Typeface;
 import android.os.Bundle;
 import android.view.View;
 import android.widget.TextView;
@@ -325,7 +326,7 @@
     }
 
     private void initView() {
-        viewBinding.toolbarTopMessageCenterListRl.getRoot().setBackgroundColor(getColor(R.color.text_FFFFFFFF));
+        viewBinding.toolbarTopMessageCenterListRl.getRoot().setBackgroundColor(getColor(R.color.text_FFECECEC));
         viewBinding.toolbarTopMessageCenterListRl.topBackLl.setVisibility(View.VISIBLE);
         viewBinding.toolbarTopMessageCenterListRl.topLeftIv.setImageResource(R.drawable.back_c);
         viewBinding.toolbarTopMessageCenterListRl.topTitleTv.setText(R.string.set_message_center);
@@ -341,7 +342,7 @@
         viewBinding.messageContentRl.setLayoutManager(mLayoutManager);
         viewBinding.messageContentRl.setAdapter(messageCenterListAdapter);
         messageCenterListAdapter.setList(mList);
-        this.nullDataUpdateUi();
+//        this.nullDataUpdateUi();
     }
 
     private void initData() {
@@ -501,13 +502,15 @@
                     viewBinding.messageBottomAlarmDeviceLineV.setVisibility(View.VISIBLE);
                     viewBinding.messageBottomAlarmRecordTitleTv.setTextColor(getColor(R.color.text_B2B2B2));
                     viewBinding.messageBottomAlarmRecordLineV.setVisibility(View.GONE);
-
-
+                    viewBinding.messageBottomAlarmDeviceTitleTv.setTypeface(null, Typeface.BOLD);
+                    viewBinding.messageBottomAlarmRecordTitleTv.setTypeface(null, Typeface.NORMAL);
                 } else {
                     viewBinding.messageBottomAlarmDeviceTitleTv.setTextColor(getColor(R.color.text_B2B2B2));
                     viewBinding.messageBottomAlarmDeviceLineV.setVisibility(View.GONE);
                     viewBinding.messageBottomAlarmRecordTitleTv.setTextColor(getColor(R.color.text_191919));
                     viewBinding.messageBottomAlarmRecordLineV.setVisibility(View.VISIBLE);
+                    viewBinding.messageBottomAlarmDeviceTitleTv.setTypeface(null, Typeface.NORMAL);
+                    viewBinding.messageBottomAlarmRecordTitleTv.setTypeface(null, Typeface.BOLD);
                 }
 
             }

--
Gitblit v1.8.0