From caead5ad019c24b9a7958f01fa663ea8159aee6c Mon Sep 17 00:00:00 2001
From: guoshen <3129367635@qq.com>
Date: 星期一, 01 七月 2024 16:16:04 +0800
Subject: [PATCH] 修复会议申请的闪退bgg(starttime,endtime字段的划分和修改)

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

diff --git a/app/src/main/res/layout/fragment_function.xml b/app/src/main/res/layout/fragment_function.xml
index 3bdd176..6f5b614 100644
--- a/app/src/main/res/layout/fragment_function.xml
+++ b/app/src/main/res/layout/fragment_function.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 
-<layout
+<layout xmlns:tools="http://schemas.android.com/tools"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:android="http://schemas.android.com/apk/res/android"
     >
@@ -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"
@@ -114,19 +114,19 @@
                         app:layout_constraintGuide_percent="0.25"
                         />
 
+
                     <TextView
                         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"
@@ -141,7 +141,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"
@@ -164,7 +165,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"
@@ -187,7 +188,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"
@@ -210,7 +211,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"
@@ -236,7 +237,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"
@@ -261,7 +262,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"
@@ -285,7 +286,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"
@@ -308,7 +310,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"
@@ -333,7 +336,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"
@@ -357,7 +361,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"
@@ -368,17 +373,173 @@
                             android:textSize="@dimen/sp_14" />
                     </LinearLayout>
 
+
                     <TextView
-                        android:id="@+id/tv_personal_module"
+                        android:id="@+id/tv_family_module"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
-                        android:layout_marginTop="@dimen/dp_20"
-                        android:text="涓汉妯″潡"
+                        android:layout_marginTop="20dp"
+                        android:text="瀹跺涵浼氳"
                         android:textColor="@color/black"
                         android:textSize="@dimen/sp_18"
                         android:textStyle="bold"
                         app:layout_constraintStart_toStartOf="@+id/tv_core_module"
                         app:layout_constraintTop_toBottomOf="@+id/layout_income_and_expenses" />
+
+                    <LinearLayout
+                        android:id="@+id/layout_family_meeting"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="15dp"
+                        android:gravity="center"
+                        android:orientation="vertical"
+                        app:layout_constraintEnd_toStartOf="@+id/gl_v_0.25"
+                        app:layout_constraintStart_toStartOf="parent"
+                        app:layout_constraintTop_toBottomOf="@id/tv_family_module">
+
+                        <ImageView
+                            android:layout_width="24dp"
+                            android:layout_height="24dp"
+                            android:background="?attr/icFunctionLittleDoctor"
+                            />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginTop="@dimen/dp_4"
+                            android:text="浼氳鐢宠"
+                            android:textColor="@color/black"
+                            android:textSize="@dimen/sp_14" />
+                    </LinearLayout>
+
+                    <LinearLayout
+                        android:id="@+id/layout_meeting_approve"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:gravity="center"
+                        android:orientation="vertical"
+                        app:layout_constraintEnd_toStartOf="@+id/gl_v_0.5"
+                        app:layout_constraintStart_toStartOf="@+id/gl_v_0.25"
+                        app:layout_constraintTop_toTopOf="@id/layout_family_meeting">
+
+                        <ImageView
+                            android:layout_width="24dp"
+                            android:layout_height="24dp"
+                            android:background="?attr/icFunctionLittleDoctor"
+                            />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginTop="@dimen/dp_4"
+                            android:text="浼氳瀹℃壒"
+                            android:textColor="@color/black"
+                            android:textSize="@dimen/sp_14" />
+                    </LinearLayout>
+
+
+                    <LinearLayout
+                        android:id="@+id/layout_meeting_sta"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:gravity="center"
+                        android:orientation="vertical"
+                        app:layout_constraintEnd_toEndOf="@+id/layout_contacts"
+                        app:layout_constraintStart_toStartOf="@+id/layout_contacts"
+                        app:layout_constraintTop_toTopOf="@id/layout_family_meeting">
+
+                        <ImageView
+                            android:layout_width="24dp"
+                            android:layout_height="24dp"
+                            android:background="?attr/icFunctionLittleDoctor"
+                            />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginTop="@dimen/dp_4"
+                            android:text="浼氳缁熻"
+                            android:textColor="@color/black"
+                            android:textSize="@dimen/sp_14" />
+                    </LinearLayout>
+
+
+                    <LinearLayout
+                        android:id="@+id/layout_webcast"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:gravity="center"
+                        android:orientation="vertical"
+                        app:layout_constraintEnd_toEndOf="@+id/layout_pet"
+                        app:layout_constraintStart_toStartOf="@+id/layout_pet"
+                        app:layout_constraintTop_toTopOf="@id/layout_family_meeting">
+
+                        <ImageView
+                            android:layout_width="24dp"
+                            android:layout_height="24dp"
+                            android:background="?attr/icFunctionLittleDoctor"
+                            />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginTop="@dimen/dp_4"
+                            android:text="鐩存挱鐢宠"
+                            android:textColor="@color/black"
+                            android:textSize="@dimen/sp_14" />
+                    </LinearLayout>
+
+
+
+                    <LinearLayout
+                        android:id="@+id/layout_webback"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:orientation="vertical"
+
+                        app:layout_constraintStart_toStartOf="@id/layout_family_meeting"
+                        app:layout_constraintEnd_toEndOf="@id/layout_family_meeting"
+                        app:layout_constraintTop_toBottomOf="@id/layout_family_meeting"
+                        android:layout_marginTop="@dimen/dp_20"
+                        android:gravity="center"
+                        >
+
+                        <ImageView
+                            android:layout_width="24dp"
+                            android:layout_height="24dp"
+                            android:background="?attr/icFunctionLittleDoctor"
+                            />
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginTop="@dimen/dp_4"
+                            android:textSize="@dimen/sp_14"
+                            android:text="鐩存挱鍥炴斁"
+                            android:textColor="@color/black"
+                            />
+                    </LinearLayout>
+
+
+
+
+
+
+
+
+
+
+                    <TextView
+                        android:id="@+id/tv_personal_module"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="90dp"
+                        android:text="涓汉妯″潡"
+                        android:textColor="@color/black"
+                        android:textSize="@dimen/sp_18"
+                        android:textStyle="bold"
+                        app:layout_constraintStart_toStartOf="@+id/tv_family_module"
+                        app:layout_constraintTop_toBottomOf="@+id/layout_family_meeting" />
+
 
                     <LinearLayout
                         android:id="@+id/layout_growing_up"
@@ -394,7 +555,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"
@@ -417,7 +579,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"
@@ -441,7 +604,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"
@@ -464,7 +628,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"
@@ -489,7 +654,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"
@@ -513,7 +679,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"
@@ -537,7 +704,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"
@@ -561,7 +729,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"
@@ -578,7 +747,7 @@
                 android:id="@+id/fab_add"
                 android:layout_width="56dp"
                 android:layout_height="56dp"
-                android:layout_gravity="end | bottom"
+                android:layout_gravity="end|bottom"
                 android:layout_marginEnd="25dp"
                 android:layout_marginBottom="44dp"
                 android:src="@drawable/ic_add"

--
Gitblit v1.9.1