From f0ed7952b5ec4d091ce74183f77c67ef3a2e60e0 Mon Sep 17 00:00:00 2001
From: zhujie <leon.zhu@cloudroam.com.cn>
Date: 星期五, 18 四月 2025 17:49:30 +0800
Subject: [PATCH] 样式
---
app/src/main/res/layout/layout_week_stats.xml | 47 ++++++++++++++++++++++++++++++-----------------
1 files changed, 30 insertions(+), 17 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..641e13d 100644
--- a/app/src/main/res/layout/layout_week_stats.xml
+++ b/app/src/main/res/layout/layout_week_stats.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
@@ -43,21 +44,31 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
- android:layout_marginBottom="16dp">
+ android:layout_marginBottom="16dp"
+ android:padding="16dp"
+ >
- <HorizontalScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp">
+<!-- <HorizontalScrollView-->
+<!-- android:layout_width="match_parent"-->
+<!-- android:layout_height="wrap_content"-->
+<!-- android:padding="16dp">-->
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <!-- 热力图将在这里动态添加 -->
- </LinearLayout>
- </HorizontalScrollView>
+<!-- <LinearLayout-->
+<!-- android:layout_width="wrap_content"-->
+<!-- android:layout_height="wrap_content"-->
+<!-- android:orientation="horizontal">-->
+<!-- <!– 热力图将在这里动态添加 –>-->
+<!-- </LinearLayout>-->
+<!-- </HorizontalScrollView>-->
</androidx.cardview.widget.CardView>
+
+
+<!-- <WebView-->
+<!-- android:id="@+id/webView"-->
+<!-- android:layout_width="match_parent"-->
+<!-- android:layout_height="300dp"-->
+<!-- tools:ignore="WebViewLayout" />-->
+
<LinearLayout
@@ -76,16 +87,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