From efafbbf142c81c233c71de636a2d3ce9dc2124f0 Mon Sep 17 00:00:00 2001
From: Linjiajia <319408893@qq.com>
Date: 星期二, 12 九月 2023 19:20:05 +0800
Subject: [PATCH] 修复bug
---
app/src/main/res/layout/fragment_function.xml | 106 ++++++++++++++++++++--------------------------------
1 files changed, 41 insertions(+), 65 deletions(-)
diff --git a/app/src/main/res/layout/fragment_function.xml b/app/src/main/res/layout/fragment_function.xml
index dc8f422..1894dab 100644
--- a/app/src/main/res/layout/fragment_function.xml
+++ b/app/src/main/res/layout/fragment_function.xml
@@ -35,25 +35,26 @@
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:id="@+id/iv_operate"
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
- android:layout_marginStart="@dimen/dp_16"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
+ android:layout_marginStart="16dp"
android:background="@drawable/ic_operate" />
</LinearLayout>
</com.android.app_base.widget.ExtendTitleBar>
-
<FrameLayout
android:id="@+id/layout_banner"
android:layout_width="match_parent"
- android:layout_height="200dp"
+ 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"
@@ -70,31 +71,6 @@
android:layout_height="match_parent"
/>
</FrameLayout>
- <RelativeLayout
- android:id="@+id/layout_data_null"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- >
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:src="@drawable/img_data_null"
- android:scaleType="center"
- />
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="绌虹┖濡備篃~"
- android:textColor="#73000000"
- android:layout_gravity="center"
- android:layout_centerHorizontal="true"
- android:layout_alignParentBottom="true"
- android:layout_marginBottom="10dp"
- />
- </RelativeLayout>
-
</FrameLayout>
<LinearLayout
@@ -162,8 +138,8 @@
app:layout_constraintTop_toBottomOf="@id/tv_core_module">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_family_root_net" />
<TextView
@@ -208,8 +184,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="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_asset" />
<TextView
@@ -231,8 +207,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="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_honor" />
<TextView
@@ -257,8 +233,8 @@
>
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_little_doctor"
/>
<TextView
@@ -282,8 +258,8 @@
>
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_cleaning"
/>
<TextView
@@ -306,8 +282,8 @@
app:layout_constraintTop_toTopOf="@id/layout_little_doctor">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_mail_list" />
<TextView
@@ -329,8 +305,8 @@
app:layout_constraintTop_toTopOf="@id/layout_little_doctor">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_pamper_pet" />
<TextView
@@ -354,8 +330,8 @@
app:layout_constraintTop_toBottomOf="@+id/layout_little_doctor">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_income_expense" />
<TextView
@@ -415,8 +391,8 @@
app:layout_constraintTop_toBottomOf="@id/tv_personal_module">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_growth" />
<TextView
@@ -438,8 +414,8 @@
app:layout_constraintTop_toTopOf="@id/layout_growing_up">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_marriage" />
<TextView
@@ -462,8 +438,8 @@
app:layout_constraintTop_toTopOf="@+id/layout_growing_up">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_property"/>
<TextView
@@ -485,8 +461,8 @@
app:layout_constraintTop_toTopOf="@+id/layout_growing_up">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_wish"/>
<TextView
@@ -510,8 +486,8 @@
app:layout_constraintTop_toBottomOf="@+id/layout_growing_up">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_tour" />
<TextView
@@ -534,8 +510,8 @@
app:layout_constraintTop_toTopOf="@+id/layout_tourism">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_health" />
<TextView
@@ -558,8 +534,8 @@
app:layout_constraintTop_toTopOf="@+id/layout_tourism">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_honor" />
<TextView
@@ -582,8 +558,8 @@
app:layout_constraintTop_toTopOf="@+id/layout_tourism">
<ImageView
- android:layout_width="@dimen/dp_24"
- android:layout_height="@dimen/dp_24"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
android:background="@drawable/function_privacy" />
<TextView
--
Gitblit v1.9.1