From f50e8e60e9da99e4f69d8ab76810dc7e5fb448bc Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期一, 02 十二月 2024 10:29:09 +0800
Subject: [PATCH] 2024年12月02日10:29:05

---
 app/src/main/java/com/hdl/photovoltaic/ui/message/MessageInfoActivity.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/app/src/main/java/com/hdl/photovoltaic/ui/message/MessageInfoActivity.java b/app/src/main/java/com/hdl/photovoltaic/ui/message/MessageInfoActivity.java
index f6a0433..9a693c4 100644
--- a/app/src/main/java/com/hdl/photovoltaic/ui/message/MessageInfoActivity.java
+++ b/app/src/main/java/com/hdl/photovoltaic/ui/message/MessageInfoActivity.java
@@ -206,9 +206,7 @@
     private void initView() {
 
         viewBinding.toolbarTopIn.topTitleTv.setText(R.string.message_alarm_info);
-        viewBinding.toolbarTopIn.topTitleTv.setTextColor(getResources().getColor(R.color.text_030D1C, null));
         viewBinding.toolbarTopIn.topBackLl.setVisibility(View.VISIBLE);
-        viewBinding.toolbarTopIn.topBarView.setBackgroundColor(getResources().getColor(R.color.text_FFECECEC, null));
 
         if (!UserConfigManage.getInstance().isBAccount()) {
             viewBinding.messageInfoBackTv.setTextColor(getColor(R.color.text_38C494));
@@ -246,16 +244,16 @@
      */
     private void stateStyle(TextView textView) {
         String type = "";//FAULT:鏁呴殰,WARN:鍛婅,EVENT:浜嬩欢
-        Drawable drawable = AppCompatResources.getDrawable(_mActivity, R.drawable.alarm_ffb300);
+        Drawable drawable = AppCompatResources.getDrawable(_mActivity, R.drawable.device_satte_ffb300);
         if (mMessageBean.getType().equals(MessageAlarmStateType.fault)) {
             type = _mActivity.getString(R.string.my_power_station_malfunction);
-            drawable = AppCompatResources.getDrawable(_mActivity, R.drawable.alarm_e34343);
+            drawable = AppCompatResources.getDrawable(_mActivity, R.drawable.device_state_fff55252);
         } else if (mMessageBean.getType().equals(MessageAlarmStateType.warn)) {
             type = _mActivity.getString(R.string.message_alarm);
-            drawable = AppCompatResources.getDrawable(_mActivity, R.drawable.alarm_ffb300);
+            drawable = AppCompatResources.getDrawable(_mActivity, R.drawable.device_satte_ffb300);
         } else if (mMessageBean.getType().equals(MessageAlarmStateType.event)) {
             type = _mActivity.getString(R.string.loading_title_tip);
-            drawable = AppCompatResources.getDrawable(_mActivity, R.drawable.state_b9b9b9);
+            drawable = AppCompatResources.getDrawable(_mActivity, R.drawable.device_state_ffb9b9b9);
         }
         textView.setText(type);
         textView.setBackground(drawable);

--
Gitblit v1.8.0