| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <layout xmlns:android="http://schemas.android.com/apk/res/android"> |
| | | <layout |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | xmlns:android="http://schemas.android.com/apk/res/android"> |
| | | |
| | | <data> |
| | | <variable |
| | | name="viewModel" |
| | | type="com.application.zhangshi_app_android.module.function.FunctionFragmentViewModel" /> |
| | | type="com.application.zhangshi_app_android.ui.function.FunctionFragmentViewModel" /> |
| | | </data> |
| | | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | android:layout_height="match_parent" |
| | | android:background="@color/color_normal_background" |
| | | android:orientation="vertical" |
| | | > |
| | | |
| | | |
| | | <com.hjq.bar.TitleBar |
| | | android:id="@+id/titleBar" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:background="@color/color_title_bar_background" |
| | | android:paddingHorizontal="@dimen/dp_16" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | 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:orientation="horizontal"> |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/ic_search" /> |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:layout_marginStart="@dimen/dp_16" |
| | | android:background="@drawable/ic_operate" /> |
| | | |
| | | </LinearLayout> |
| | | |
| | | </com.hjq.bar.TitleBar> |
| | | |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv_group_photo" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_200" |
| | | android:background="@drawable/margin_pic" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@id/titleBar" |
| | | /> |
| | | |
| | | <LinearLayout |
| | | 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" |
| | | > |
| | | <androidx.core.widget.NestedScrollView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | > |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:paddingBottom="@dimen/dp_10" |
| | | > |
| | | <androidx.constraintlayout.widget.Guideline |
| | | android:id="@+id/gl_v_0.5" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | app:layout_constraintGuide_percent="0.5" |
| | | /> |
| | | <androidx.constraintlayout.widget.Guideline |
| | | android:id="@+id/gl_v_0.75" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | app:layout_constraintGuide_percent="0.75" |
| | | /> |
| | | <androidx.constraintlayout.widget.Guideline |
| | | android:id="@+id/gl_v_0.25" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | 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: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: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_core_module"> |
| | | |
| | | <ImageView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:background="@drawable/function_family_root_net" /> |
| | | |
| | | <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_family_memorabilia" |
| | | 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_home_root_net"> |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/function_notes" /> |
| | | |
| | | <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_family_assets" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toStartOf="@+id/gl_v_0.75" |
| | | app:layout_constraintStart_toStartOf="@+id/gl_v_0.5" |
| | | 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" /> |
| | | |
| | | <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_honor_collection" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="@+id/gl_v_0.75" |
| | | 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" /> |
| | | |
| | | <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_little_doctor" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | app:layout_constraintStart_toStartOf="@id/layout_home_root_net" |
| | | app:layout_constraintEnd_toEndOf="@id/layout_home_root_net" |
| | | app:layout_constraintTop_toBottomOf="@id/layout_home_root_net" |
| | | android:layout_marginTop="@dimen/dp_20" |
| | | android:gravity="center" |
| | | > |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/function_little_doctor" |
| | | /> |
| | | <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> |
| | | <LinearLayout |
| | | android:id="@+id/layout_clean_storage" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | app:layout_constraintStart_toStartOf="@id/layout_family_memorabilia" |
| | | app:layout_constraintEnd_toEndOf="@id/layout_family_memorabilia" |
| | | app:layout_constraintTop_toTopOf="@id/layout_little_doctor" |
| | | android:gravity="center" |
| | | > |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/function_cleaning" |
| | | /> |
| | | <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> |
| | | <LinearLayout |
| | | android:id="@+id/layout_contacts" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toEndOf="@+id/layout_family_assets" |
| | | app:layout_constraintStart_toStartOf="@+id/layout_family_assets" |
| | | 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" /> |
| | | |
| | | <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_pet" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toEndOf="@+id/layout_honor_collection" |
| | | app:layout_constraintStart_toStartOf="@+id/layout_honor_collection" |
| | | 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" /> |
| | | |
| | | <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_income_and_expenses" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | android:layout_marginTop="@dimen/dp_20" |
| | | app:layout_constraintEnd_toEndOf="@+id/layout_little_doctor" |
| | | app:layout_constraintStart_toStartOf="@+id/layout_little_doctor" |
| | | 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" /> |
| | | |
| | | <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_personal_module" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/dp_20" |
| | | 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_growing_up" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/dp_15" |
| | | 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_personal_module"> |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/function_growth" /> |
| | | |
| | | <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_marriage" |
| | | 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_growing_up"> |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/function_marriage" /> |
| | | |
| | | <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_property" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toStartOf="@+id/gl_v_0.75" |
| | | app:layout_constraintStart_toStartOf="@+id/gl_v_0.5" |
| | | 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"/> |
| | | |
| | | <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_hundred_wish" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="@+id/gl_v_0.75" |
| | | 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"/> |
| | | |
| | | <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_tourism" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/dp_20" |
| | | 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/layout_growing_up"> |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/function_tour" /> |
| | | |
| | | <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_health_care" |
| | | 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_tourism"> |
| | | |
| | | <ImageView |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/function_health" /> |
| | | |
| | | <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_certificate_of_honor" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toStartOf="@+id/gl_v_0.75" |
| | | app:layout_constraintStart_toStartOf="@+id/gl_v_0.5" |
| | | 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" /> |
| | | |
| | | <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_privacy" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="@+id/gl_v_0.75" |
| | | 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" /> |
| | | |
| | | <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> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | </androidx.core.widget.NestedScrollView> |
| | | |
| | | </LinearLayout> |
| | | |
| | | |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | </layout> |