From e7a6728aea008cab5befa5980382370c32974ce5 Mon Sep 17 00:00:00 2001
From: 张钢 <floatgang@163.com>
Date: 星期三, 11 九月 2024 14:51:07 +0800
Subject: [PATCH] 修改了百年心愿模块的排版和显示不正确的问题

---
 app/src/main/res/layout/item_electronic_file_add.xml |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/app/src/main/res/layout/item_electronic_file_add.xml b/app/src/main/res/layout/item_electronic_file_add.xml
index 722063c..c1964ad 100644
--- a/app/src/main/res/layout/item_electronic_file_add.xml
+++ b/app/src/main/res/layout/item_electronic_file_add.xml
@@ -28,7 +28,7 @@
                 <androidx.constraintlayout.utils.widget.ImageFilterView
                     android:layout_width="match_parent"
                     android:layout_height="match_parent"
-                    android:background="#73fab4cd"
+                    android:background="?attr/electronicFileAddBackgroundColor"
                     app:round="10dp"
                     />
                 <androidx.constraintlayout.utils.widget.ImageFilterView
@@ -76,16 +76,17 @@
                 android:layout_gravity="top|start"
                 />
         </FrameLayout>
-        <FrameLayout
+        <androidx.cardview.widget.CardView
             android:id="@+id/fl_add"
             android:layout_width="match_parent"
             android:layout_height="0dp"
-            app:layout_constraintDimensionRatio="1:1"
             android:layout_margin="7dp"
+            app:layout_constraintDimensionRatio="1:1"
             app:layout_constraintTop_toTopOf="parent"
             app:layout_constraintStart_toStartOf="parent"
-            android:background="@drawable/shape_73fab4cd_solid"
-
+            app:cardCornerRadius="10dp"
+            app:cardElevation="0dp"
+            app:cardBackgroundColor="?attr/electronicFileAddBackgroundColor"
             >
             <ImageView
                 android:layout_width="wrap_content"
@@ -93,7 +94,7 @@
                 android:background="@drawable/ic_import_add"
                 android:layout_gravity="center"
                 />
-        </FrameLayout>
+        </androidx.cardview.widget.CardView>
 
     </androidx.constraintlayout.widget.ConstraintLayout>
 </layout>
\ No newline at end of file

--
Gitblit v1.9.1