From 85d11d6cd12abdd1e1f5f7516a7fb53a4826633f Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期二, 15 四月 2025 09:17:18 +0800
Subject: [PATCH] add: 消息提醒
---
app/src/main/res/layout/layout_week_stats.xml | 41 +++++++++++++++++++++++++++++++++++++----
1 files changed, 37 insertions(+), 4 deletions(-)
diff --git a/app/src/main/res/layout/layout_week_stats.xml b/app/src/main/res/layout/layout_week_stats.xml
index ba1c006..b7c0bcf 100644
--- a/app/src/main/res/layout/layout_week_stats.xml
+++ b/app/src/main/res/layout/layout_week_stats.xml
@@ -4,19 +4,37 @@
android:layout_height="wrap_content"
android:orientation="vertical">
- <!-- 柱状图容器 -->
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ >
+ <TextView
+ android:id="@+id/bar_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="本周包裹物流公司分布 ->"
+ android:layout_margin="16dp"
+ >
+
+ </TextView>
+ </LinearLayout>
+ <!-- 柱状图容器,内边距16dp -->
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="280dp"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="8dp"
- android:layout_marginBottom="16dp">
+ android:layout_marginBottom="16dp"
+ android:padding="100dp"
+ >
<com.github.mikephil.charting.charts.BarChart
android:id="@+id/chart_daily_packages"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="16dp" />
+ android:layout_height="wrap_content"
+ android:padding="50dp"
+
+ />
</androidx.cardview.widget.CardView>
<!-- 热力图容器 -->
@@ -41,6 +59,21 @@
</HorizontalScrollView>
</androidx.cardview.widget.CardView>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ >
+ <TextView
+ android:id="@+id/pie_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="本周包裹物流公司分布 ->"
+ android:layout_margin="16dp"
+ >
+ </TextView>
+ </LinearLayout>
+
<!-- 饼图容器 -->
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
--
Gitblit v1.9.3