From f21e1ae4b858b6a329b717eaf420d4a1e79d9509 Mon Sep 17 00:00:00 2001 From: Guo_shaoshan <2055829622@qq.com> Date: 星期一, 24 四月 2023 15:53:47 +0800 Subject: [PATCH] 自传和通讯录界面(未完成未修改) --- app/src/main/res/layout/fragment_function.xml | 42 ++++++++++++++++++++++++++++++++++-------- 1 files changed, 34 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/fragment_function.xml b/app/src/main/res/layout/fragment_function.xml index 0b53e2b..18139a0 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:android="http://schemas.android.com/apk/res/android" + > <data> <variable @@ -16,16 +19,15 @@ android:orientation="vertical" > - <com.hjq.bar.TitleBar android:id="@+id/titleBar" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="@dimen/dp_55" 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"> @@ -149,8 +151,8 @@ app:layout_constraintTop_toBottomOf="@id/tv_core_module"> <ImageView - android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_width="@dimen/dp_24" + android:layout_height="@dimen/dp_24" android:background="@drawable/function_family_root_net" /> <TextView @@ -172,8 +174,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 +356,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