guoshen
2024-07-01 caead5ad019c24b9a7958f01fa663ea8159aee6c
app/src/main/res/layout/fragment_function.xml
@@ -1,7 +1,10 @@
<?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">
    xmlns:android="http://schemas.android.com/apk/res/android"
    >
    <data>
        <variable
@@ -12,85 +15,73 @@
    <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.hjq.bar.TitleBar
        <com.android.app_base.widget.ExtendTitleBar
            android:id="@+id/titleBar"
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_55"
            android:background="@color/color_title_bar_background"
            android:paddingHorizontal="@dimen/dp_16"
            app:layout_constraintEnd_toEndOf="parent"
            app:titleGravity="left"
            app:title="功能"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:leftIcon="@null"
            app:rightIcon="@null">
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:orientation="horizontal">
                <ImageView
                    android:id="@+id/menu"
                    android:layout_width="@dimen/dp_24"
                    android:layout_height="@dimen/dp_24"
                    android:layout_gravity="center"
                    android:background="@drawable/ic_menu" />
                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="@dimen/dp_32"
                    android:text="@string/title_function"
                    android:textColor="@color/white"
                    android:textSize="@dimen/sp_20" />
            </LinearLayout>
            >
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="end|center_vertical"
                android:layout_marginHorizontal="16dp"
                android:orientation="horizontal">
                <ImageView
                    android:layout_width="@dimen/dp_24"
                    android:layout_height="@dimen/dp_24"
                    android:background="@drawable/ic_search" />
                    android:id="@+id/iv_operate_select"
                    android:layout_width="24dp"
                    android:layout_height="24dp"
                    android:background="@drawable/ic_operate_select_white" />
                <ImageView
                    android:layout_width="@dimen/dp_24"
                    android:layout_height="@dimen/dp_24"
                    android:layout_marginStart="@dimen/dp_16"
                    android:id="@+id/iv_operate"
                    android:layout_width="24dp"
                    android:layout_height="24dp"
                    android:layout_marginStart="16dp"
                    android:background="@drawable/ic_operate" />
            </LinearLayout>
        </com.android.app_base.widget.ExtendTitleBar>
        </com.hjq.bar.TitleBar>
        <ImageView
            android:id="@+id/iv_group_photo"
        <FrameLayout
            android:id="@+id/layout_banner"
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_200"
            android:background="@drawable/margin_pic"
            android:layout_height="0dp"
            app:layout_constraintDimensionRatio="16:9"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/titleBar"
            />
            >
            <FrameLayout
                android:id="@+id/layout_frame"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="?attr/pageBackgroundColor"
                >
                <ImageView
                    android:id="@+id/iv_banner"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    />
            </FrameLayout>
        </FrameLayout>
        <LinearLayout
        <FrameLayout
            android:id="@+id/container"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:orientation="vertical"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintTop_toBottomOf="@id/iv_group_photo"
            app:layout_constraintTop_toBottomOf="@id/layout_banner"
            >
            <androidx.core.widget.NestedScrollView
                android:layout_width="match_parent"
@@ -123,24 +114,24 @@
                        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"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="@dimen/dp_15"
                        android:layout_marginTop="15dp"
                        android:gravity="center"
                        android:orientation="vertical"
                        app:layout_constraintEnd_toStartOf="@+id/gl_v_0.25"
@@ -148,9 +139,10 @@
                        app:layout_constraintTop_toBottomOf="@id/tv_core_module">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_family_root_net" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionFamilyRootNet"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -171,9 +163,9 @@
                        app:layout_constraintTop_toTopOf="@id/layout_home_root_net">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_notes" />
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:background="?attr/icFunctionNotes" />
                        <TextView
                            android:layout_width="wrap_content"
@@ -194,9 +186,9 @@
                        app:layout_constraintTop_toTopOf="@id/layout_home_root_net">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_asset" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionAsset" />
                        <TextView
                            android:layout_width="wrap_content"
@@ -217,9 +209,9 @@
                        app:layout_constraintTop_toTopOf="@id/layout_home_root_net">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_honor" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionHonor" />
                        <TextView
                            android:layout_width="wrap_content"
@@ -243,9 +235,9 @@
                        >
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_little_doctor"
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionLittleDoctor"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -268,9 +260,9 @@
                        >
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_cleaning"
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionCleaning"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -292,9 +284,10 @@
                        app:layout_constraintTop_toTopOf="@id/layout_little_doctor">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_mail_list" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionMailList"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -315,9 +308,10 @@
                        app:layout_constraintTop_toTopOf="@id/layout_little_doctor">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_pamper_pet" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionPamperPet"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -340,9 +334,10 @@
                        app:layout_constraintTop_toBottomOf="@+id/layout_little_doctor">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_income_expense" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionIncomeExpense"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -353,12 +348,38 @@
                            android:textSize="@dimen/sp_14" />
                    </LinearLayout>
                    <TextView
                        android:id="@+id/tv_personal_module"
                    <LinearLayout
                        android:id="@+id/layout_home_devices"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="@dimen/dp_20"
                        android:text="个人模块"
                        android:gravity="center"
                        android:orientation="vertical"
                        app:layout_constraintEnd_toEndOf="@id/layout_family_memorabilia"
                        app:layout_constraintStart_toStartOf="@id/layout_family_memorabilia"
                        app:layout_constraintTop_toTopOf="@+id/layout_income_and_expenses">
                        <ImageView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:background="?attr/icFunctionHomeDevices"
                            />
                        <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>
                    <TextView
                        android:id="@+id/tv_family_module"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="20dp"
                        android:text="家庭会议"
                        android:textColor="@color/black"
                        android:textSize="@dimen/sp_18"
                        android:textStyle="bold"
@@ -366,10 +387,165 @@
                        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"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="@dimen/dp_15"
                        android:layout_marginTop="15dp"
                        android:gravity="center"
                        android:orientation="vertical"
                        app:layout_constraintEnd_toStartOf="@+id/gl_v_0.25"
@@ -377,9 +553,10 @@
                        app:layout_constraintTop_toBottomOf="@id/tv_personal_module">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_growth" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionGrowth"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -400,9 +577,10 @@
                        app:layout_constraintTop_toTopOf="@id/layout_growing_up">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_marriage" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionMarriage"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -424,9 +602,10 @@
                        app:layout_constraintTop_toTopOf="@+id/layout_growing_up">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_property"/>
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionProperty"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -447,9 +626,10 @@
                        app:layout_constraintTop_toTopOf="@+id/layout_growing_up">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_wish"/>
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionWish"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -472,9 +652,10 @@
                        app:layout_constraintTop_toBottomOf="@+id/layout_growing_up">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_tour" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionTour"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -496,9 +677,10 @@
                        app:layout_constraintTop_toTopOf="@+id/layout_tourism">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_health" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionHealth"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -520,9 +702,10 @@
                        app:layout_constraintTop_toTopOf="@+id/layout_tourism">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_honor" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionCertificate"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -544,9 +727,10 @@
                        app:layout_constraintTop_toTopOf="@+id/layout_tourism">
                        <ImageView
                            android:layout_width="@dimen/dp_24"
                            android:layout_height="@dimen/dp_24"
                            android:background="@drawable/function_privacy" />
                            android:layout_width="24dp"
                            android:layout_height="24dp"
                            android:background="?attr/icFunctionPrivacy"
                            />
                        <TextView
                            android:layout_width="wrap_content"
@@ -559,11 +743,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>