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/layout_drawer.xml |  138 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 138 insertions(+), 0 deletions(-)

diff --git a/app/src/main/res/layout/layout_drawer.xml b/app/src/main/res/layout/layout_drawer.xml
index f61c45c..91ed9e5 100644
--- a/app/src/main/res/layout/layout_drawer.xml
+++ b/app/src/main/res/layout/layout_drawer.xml
@@ -39,6 +39,7 @@
                 android:layout_marginStart="16dp"
                 />
         </LinearLayout>
+        <!--CardView鍗$墖甯冨眬 鐢ㄤ簬鏄剧ず闃村奖鍜屽渾瑙掓晥鏋滅殑UI 缁ф壙鑷狥rameLayout甯у竷灞� -->
         <androidx.cardview.widget.CardView
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
@@ -46,6 +47,7 @@
             app:cardCornerRadius="10dp"
             app:cardElevation="0dp"
             >
+            <!--cardElevation璁剧疆Z杞撮珮搴︼紝琛ㄧ幇鍑虹珛浣撶殑闃村奖鏁堟灉锛屼粠鑰屽寮鸿瑙夊眰绾у拰绌洪棿鎰熺煡-->
             <LinearLayout
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
@@ -61,17 +63,22 @@
                     android:layout_marginStart="14dp"
                     android:layout_marginBottom="8dp"
                     />
+                <!--View 涓�鏉℃í绾�-->
                 <View
                     android:layout_width="match_parent"
                     android:layout_height="1dp"
                     android:background="#FFF3F3F3"
                     />
+                <!--paddingHorizontal姘村钩鏂瑰悜濉厖锛岀浉褰撲簬鏁翠綋宸﹀彸绉伙紝鏈夋璐�
+                marginVertical 杈圭紭鍨傜洿锛岀浉褰撲簬鏁翠綋涓婁笅绉诲姩
+                -->
                 <LinearLayout
                     android:id="@+id/dl_home_root_net"
                     android:layout_width="match_parent"
                     android:layout_height="0dp"
                     android:layout_weight="1"
                     android:paddingHorizontal="15dp"
+
                     android:layout_marginVertical="3dp"
                     android:gravity="center"
                     >
@@ -80,6 +87,7 @@
                         android:layout_height="10dp"
                         android:background="?attr/icFunctionFamilyRootNet"
                         />
+                    <!--marginStart杈圭紭璺濈宸﹁竟鐨勮窛绂�-->
                     <TextView
                         android:layout_width="0dp"
                         android:layout_height="wrap_content"
@@ -361,6 +369,136 @@
 
 
         </androidx.cardview.widget.CardView>
+
+        <androidx.cardview.widget.CardView
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            app:cardBackgroundColor="@color/white"
+            app:cardCornerRadius="10dp"
+            app:cardElevation="0dp"
+            android:layout_marginTop="30dp"
+            android:layout_marginBottom="10dp"
+            >
+            <!--cardElevation璁剧疆Z杞撮珮搴︼紝琛ㄧ幇鍑虹珛浣撶殑闃村奖鏁堟灉锛屼粠鑰屽寮鸿瑙夊眰绾у拰绌洪棿鎰熺煡-->
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:orientation="vertical"
+                android:paddingVertical="8dp"
+                >
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="浼氳鏉垮潡"
+                    android:textColor="@color/black"
+                    android:textSize="12sp"
+                    android:layout_marginStart="14dp"
+                    android:layout_marginBottom="8dp"
+                    />
+                <!--View 涓�鏉℃í绾�-->
+                <View
+                    android:layout_width="match_parent"
+                    android:layout_height="1dp"
+                    android:background="#FFF3F3F3"
+                    />
+                <!--paddingHorizontal姘村钩鏂瑰悜濉厖锛岀浉褰撲簬鏁翠綋宸﹀彸绉伙紝鏈夋璐�
+                marginVertical 杈圭紭鍨傜洿锛岀浉褰撲簬鏁翠綋涓婁笅绉诲姩
+                -->
+                <LinearLayout
+                    android:id="@+id/dl_family_meeting"
+                    android:layout_width="match_parent"
+                    android:layout_height="0dp"
+                    android:layout_weight="1"
+                    android:paddingHorizontal="15dp"
+                    android:layout_marginVertical="3dp"
+                    android:gravity="center"
+                    >
+                    <ImageView
+                        android:layout_width="13dp"
+                        android:layout_height="10dp"
+                        android:background="@drawable/ic_function_meeting"
+                        />
+                    <TextView
+                        android:layout_width="0dp"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:text="浼氳鐢宠"
+                        android:textColor="@color/black"
+                        android:textSize="14sp"
+                        android:layout_marginStart="15dp"
+                        />
+                    <ImageView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:background="@drawable/ic_vector_gray"
+                        />
+                </LinearLayout>
+                <LinearLayout
+                    android:id="@+id/dl_family_webcast"
+                    android:layout_width="match_parent"
+                    android:layout_height="0dp"
+                    android:layout_weight="1"
+                    android:paddingHorizontal="15dp"
+                    android:layout_marginVertical="3dp"
+                    android:gravity="center"
+                    >
+                    <ImageView
+                        android:layout_width="13dp"
+                        android:layout_height="15dp"
+                        android:background="@drawable/ic_function_webcast"
+                        />
+                    <TextView
+                        android:layout_width="0dp"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:text="瀹跺涵鐩存挱"
+                        android:textColor="@color/black"
+                        android:textSize="14sp"
+                        android:layout_marginStart="15dp"
+                        />
+                    <ImageView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:background="@drawable/ic_vector_gray"
+                        />
+                </LinearLayout>
+
+                <LinearLayout
+                    android:id="@+id/dl_back"
+                    android:layout_width="match_parent"
+                    android:layout_height="0dp"
+                    android:layout_weight="1"
+                    android:paddingHorizontal="15dp"
+                    android:layout_marginVertical="3dp"
+                    android:gravity="center"
+                    >
+                    <ImageView
+                        android:layout_width="13dp"
+                        android:layout_height="15dp"
+                        android:background="@drawable/ic_fuction_back"
+                        />
+                    <TextView
+                        android:layout_width="0dp"
+                        android:layout_height="wrap_content"
+                        android:layout_weight="1"
+                        android:text="鐩存挱鍥炴斁"
+                        android:textColor="@color/black"
+                        android:textSize="14sp"
+                        android:layout_marginStart="15dp"
+                        />
+                    <ImageView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:background="@drawable/ic_vector_gray"
+                        />
+                </LinearLayout>
+
+            </LinearLayout>
+
+
+        </androidx.cardview.widget.CardView>
+
+
         <androidx.cardview.widget.CardView
             android:layout_width="match_parent"
             android:layout_height="wrap_content"

--
Gitblit v1.9.1