From fcdddf8b9b34f9930bec454b5fffe41c0e33ba3c Mon Sep 17 00:00:00 2001 From: Linjiajia <319408893@qq.com> Date: 星期一, 24 四月 2023 21:17:05 +0800 Subject: [PATCH] 功能模块大部分 --- app/src/main/res/layout/fragment_function.xml | 37 ++++++++++++++++++++++++++++++++----- 1 files changed, 32 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/fragment_function.xml b/app/src/main/res/layout/fragment_function.xml index 0b53e2b..58f109f 100644 --- a/app/src/main/res/layout/fragment_function.xml +++ b/app/src/main/res/layout/fragment_function.xml @@ -1,7 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> + + <layout - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:android="http://schemas.android.com/apk/res/android"> +xmlns:app="http://schemas.android.com/apk/res-auto" +xmlns:android="http://schemas.android.com/apk/res/android" +> <data> <variable @@ -22,10 +25,10 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/color_title_bar_background" + app:layout_constraintTop_toTopOf="parent" 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"> @@ -172,8 +175,8 @@ app:layout_constraintTop_toTopOf="@id/layout_home_root_net"> <ImageView - android:layout_width="@dimen/dp_24" - android:layout_height="@dimen/dp_24" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:background="@drawable/function_notes" /> <TextView @@ -354,6 +357,30 @@ android:textSize="@dimen/sp_14" /> </LinearLayout> + <LinearLayout + android:id="@+id/layout_home_devices" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + 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="@drawable/function_home_devices" /> + + <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" -- Gitblit v1.9.1