guoshen
2024-07-01 caead5ad019c24b9a7958f01fa663ea8159aee6c
app/src/main/res/layout/layout_drawer.xml
@@ -39,6 +39,7 @@
                android:layout_marginStart="16dp"
                />
        </LinearLayout>
        <!--CardView卡片布局 用于显示阴影和圆角效果的UI 继承自FrameLayout帧布局 -->
        <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"