From b17b9aa59bae6d03055f14d937821655dfaffa1f Mon Sep 17 00:00:00 2001
From: Linjiajia <319408893@qq.com>
Date: 星期一, 29 一月 2024 23:27:08 +0800
Subject: [PATCH] 1、调整成长经历页面\n2、删除婚姻个人信息

---
 app/src/main/res/layout/fragment_function.xml |   76 ++++++++++++++++++++++++--------------
 1 files changed, 48 insertions(+), 28 deletions(-)

diff --git a/app/src/main/res/layout/fragment_function.xml b/app/src/main/res/layout/fragment_function.xml
index 1894dab..1712a99 100644
--- a/app/src/main/res/layout/fragment_function.xml
+++ b/app/src/main/res/layout/fragment_function.xml
@@ -15,7 +15,7 @@
     <androidx.constraintlayout.widget.ConstraintLayout
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:background="@color/color_normal_background"
+        android:background="?attr/pageBackgroundColor"
         android:orientation="vertical"
         >
         <com.android.app_base.widget.ExtendTitleBar
@@ -63,7 +63,7 @@
                 android:id="@+id/layout_frame"
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
-                android:background="@color/color_card_pink"
+                android:background="?attr/pageBackgroundColor"
                 >
                 <ImageView
                     android:id="@+id/iv_banner"
@@ -73,7 +73,8 @@
             </FrameLayout>
         </FrameLayout>
 
-        <LinearLayout
+        <FrameLayout
+            android:id="@+id/container"
             android:layout_width="match_parent"
             android:layout_height="0dp"
             android:orientation="vertical"
@@ -117,15 +118,14 @@
                         android:id="@+id/tv_core_module"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
-                        android:layout_marginStart="@dimen/dp_20"
-                        android:layout_marginTop="@dimen/dp_20"
+                        android:layout_marginStart="20dp"
+                        android:layout_marginTop="20dp"
                         android:text="鏍稿績妯″潡"
                         android:textColor="@color/black"
                         android:textSize="@dimen/sp_18"
                         android:textStyle="bold"
                         app:layout_constraintStart_toStartOf="parent"
                         app:layout_constraintTop_toTopOf="parent" />
-
                     <LinearLayout
                         android:id="@+id/layout_home_root_net"
                         android:layout_width="wrap_content"
@@ -140,7 +140,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_family_root_net" />
+                            android:background="?attr/icFunctionFamilyRootNet"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -163,7 +164,7 @@
                         <ImageView
                             android:layout_width="wrap_content"
                             android:layout_height="wrap_content"
-                            android:background="@drawable/function_notes" />
+                            android:background="?attr/icFunctionNotes" />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -186,7 +187,7 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_asset" />
+                            android:background="?attr/icFunctionAsset" />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -209,7 +210,7 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_honor" />
+                            android:background="?attr/icFunctionHonor" />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -235,7 +236,7 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_little_doctor"
+                            android:background="?attr/icFunctionLittleDoctor"
                             />
                         <TextView
                             android:layout_width="wrap_content"
@@ -260,7 +261,7 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_cleaning"
+                            android:background="?attr/icFunctionCleaning"
                             />
                         <TextView
                             android:layout_width="wrap_content"
@@ -284,7 +285,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_mail_list" />
+                            android:background="?attr/icFunctionMailList"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -307,7 +309,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_pamper_pet" />
+                            android:background="?attr/icFunctionPamperPet"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -332,7 +335,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_income_expense" />
+                            android:background="?attr/icFunctionIncomeExpense"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -356,7 +360,8 @@
                         <ImageView
                             android:layout_width="wrap_content"
                             android:layout_height="wrap_content"
-                            android:background="@drawable/function_home_devices" />
+                            android:background="?attr/icFunctionHomeDevices"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -393,7 +398,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_growth" />
+                            android:background="?attr/icFunctionGrowth"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -416,7 +422,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_marriage" />
+                            android:background="?attr/icFunctionMarriage"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -440,7 +447,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_property"/>
+                            android:background="?attr/icFunctionProperty"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -463,7 +471,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_wish"/>
+                            android:background="?attr/icFunctionWish"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -488,7 +497,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_tour" />
+                            android:background="?attr/icFunctionTour"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -512,7 +522,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_health" />
+                            android:background="?attr/icFunctionHealth"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -536,7 +547,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_honor" />
+                            android:background="?attr/icFunctionCertificate"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -560,7 +572,8 @@
                         <ImageView
                             android:layout_width="24dp"
                             android:layout_height="24dp"
-                            android:background="@drawable/function_privacy" />
+                            android:background="?attr/icFunctionPrivacy"
+                            />
 
                         <TextView
                             android:layout_width="wrap_content"
@@ -573,11 +586,18 @@
 
                 </androidx.constraintlayout.widget.ConstraintLayout>
             </androidx.core.widget.NestedScrollView>
+            <com.google.android.material.floatingactionbutton.FloatingActionButton
+                android:id="@+id/fab_add"
+                android:layout_width="56dp"
+                android:layout_height="56dp"
+                android:layout_gravity="end|bottom"
+                android:layout_marginEnd="25dp"
+                android:layout_marginBottom="44dp"
+                android:src="@drawable/ic_add"
+                app:fabCustomSize="56dp"
+                />
 
-        </LinearLayout>
-
-
-
+        </FrameLayout>
 
     </androidx.constraintlayout.widget.ConstraintLayout>
 </layout>
\ No newline at end of file

--
Gitblit v1.9.1