From cae6ff870b1e9f1278a8fa21ab1013e68569607a Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期三, 15 五月 2024 19:31:33 +0800
Subject: [PATCH] 2024年05月15日19:31:32

---
 app/src/main/java/com/hdl/photovoltaic/widget/DefaultFilteringDialog.java |   24 +++++++++++-------------
 1 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/app/src/main/java/com/hdl/photovoltaic/widget/DefaultFilteringDialog.java b/app/src/main/java/com/hdl/photovoltaic/widget/DefaultFilteringDialog.java
index 82614bd..3ae9b1c 100644
--- a/app/src/main/java/com/hdl/photovoltaic/widget/DefaultFilteringDialog.java
+++ b/app/src/main/java/com/hdl/photovoltaic/widget/DefaultFilteringDialog.java
@@ -4,8 +4,6 @@
 import android.os.Bundle;
 import android.text.TextUtils;
 import android.view.View;
-import android.view.Window;
-import android.view.WindowManager;
 import android.widget.TextView;
 
 import androidx.annotation.NonNull;
@@ -229,28 +227,28 @@
     private void setBackgroundColor(TextView textView, TitleType titleType) {
         if (titleType == TitleType.string_capacity) {
             viewBinding.text1Tv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.text1Tv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.text1Tv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.text2Tv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.text2Tv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.text2Tv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.text3Tv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.text3Tv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.text3Tv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.text4Tv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.text4Tv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.text4Tv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.text5Tv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.text5Tv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.text5Tv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.text6Tv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.text6Tv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.text6Tv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.text7Tv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.text7Tv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.text7Tv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.text8Tv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.text8Tv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.text8Tv.setTextColor(mContext.getColor(R.color.text_E6000000));
         } else {
             viewBinding.allTv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.allTv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.allTv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.gridConnectedTv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.gridConnectedTv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.gridConnectedTv.setTextColor(mContext.getColor(R.color.text_E6000000));
             viewBinding.offNetworkTv.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.search_bj_ff05000000));
-            viewBinding.offNetworkTv.setTextColor(mContext.getColor(R.color.text_90000000));
+            viewBinding.offNetworkTv.setTextColor(mContext.getColor(R.color.text_E6000000));
         }
         if (textView != null) {
             textView.setBackground(AppCompatResources.getDrawable(mContext, R.drawable.selected_38c494));

--
Gitblit v1.8.0