From 75f59fa9a615e3584694e820ff83503e8b72ea16 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 14 三月 2025 16:55:31 +0800
Subject: [PATCH] refactor(generallibrary):重构网络请求模块
---
generallibrary/src/main/res/layout/fragment_card.xml | 25 ++++++++-----------------
1 files changed, 8 insertions(+), 17 deletions(-)
diff --git a/generallibrary/src/main/res/layout/fragment_card.xml b/generallibrary/src/main/res/layout/fragment_card.xml
index 71aee45..d09e603 100644
--- a/generallibrary/src/main/res/layout/fragment_card.xml
+++ b/generallibrary/src/main/res/layout/fragment_card.xml
@@ -5,23 +5,14 @@
android:layout_height="match_parent"
android:background="@color/white">
- <androidx.appcompat.widget.Toolbar
+
+ <com.dayu.baselibrary.view.TitleBar
android:id="@+id/titleBar"
android:layout_width="match_parent"
android:layout_height="@dimen/dimen_title_height"
- android:background="@color/bottom_color"
+ android:background="@color/title_bar_bg"
android:elevation="4dp"
- app:layout_constraintTop_toTopOf="parent">
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="鍒跺崱"
- android:textColor="@color/white"
- android:textSize="@dimen/title_text_size"
- android:textStyle="bold" />
- </androidx.appcompat.widget.Toolbar>
+ app:centerText="鍒跺崱" />
<ScrollView
android:layout_width="match_parent"
@@ -68,7 +59,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center"
- android:text="鏂板崱寮�鎴�"
+ android:text="寮�鍗�"
android:textColor="@color/text_selecter_color"
android:textSize="@dimen/home_text_size" />
</LinearLayout>
@@ -147,7 +138,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center"
- android:text="璇诲彇鍗$墖"
+ android:text="璇诲崱"
android:textColor="@color/text_selecter_color"
android:textSize="@dimen/home_text_size" />
</LinearLayout>
@@ -244,7 +235,7 @@
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
- android:id="@+id/home_admin"
+ android:id="@+id/home_manage"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@@ -279,7 +270,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center"
- android:text="绠$悊绯荤粺"
+ android:text="鍒朵綔绠$悊鍗�"
android:textColor="@color/text_selecter_color"
android:textSize="@dimen/home_text_size" />
</LinearLayout>
--
Gitblit v1.8.0