From 04b138d3836e03c9adbcbd367fd71d92905c5206 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 17 四月 2025 13:17:45 +0800
Subject: [PATCH] add: 重复登录处理

---
 app/src/main/res/layout/layout_week_stats.xml |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/app/src/main/res/layout/layout_week_stats.xml b/app/src/main/res/layout/layout_week_stats.xml
index b7c0bcf..2499968 100644
--- a/app/src/main/res/layout/layout_week_stats.xml
+++ b/app/src/main/res/layout/layout_week_stats.xml
@@ -76,16 +76,18 @@
 
     <!-- 饼图容器 -->
     <androidx.cardview.widget.CardView
+        android:id="@+id/chart_courier_card_view"
         android:layout_width="match_parent"
-        android:layout_height="400dp"
-        android:layout_marginHorizontal="16dp"
-        android:layout_marginBottom="16dp">
+        android:layout_height="wrap_content"
+        android:layout_marginHorizontal="0dp"
+        android:layout_marginBottom="0dp">
 
         <com.github.mikephil.charting.charts.PieChart
             android:id="@+id/chart_courier_distribution"
             android:layout_width="match_parent"
-            android:layout_height="match_parent"
-            android:padding="16dp" />
+            android:layout_height="wrap_content"
+            android:minHeight="300dp"
+            android:padding="0dp" />
     </androidx.cardview.widget.CardView>
 
 </LinearLayout>
\ No newline at end of file

--
Gitblit v1.9.3