cloudroam
2025-03-24 168f53f24a8d13968a9e13d3072af8f046f674be
app/src/main/res/layout/layout_week_stats.xml
@@ -4,7 +4,7 @@
    android:layout_height="wrap_content"
    android:orientation="vertical">
    <!-- 每日包裹数量柱状图 -->
    <!-- 柱状图容器,内边距16dp -->
    <androidx.cardview.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="280dp"
@@ -19,10 +19,32 @@
            android:padding="16dp" />
    </androidx.cardview.widget.CardView>
    <!-- 快递公司占比饼图 -->
    <!-- 热力图容器 -->
    <androidx.cardview.widget.CardView
        android:id="@+id/heatmap_yearly"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="16dp"
        android:layout_marginBottom="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>
    </androidx.cardview.widget.CardView>
    <!-- 饼图容器 -->
    <androidx.cardview.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="280dp"
        android:layout_height="400dp"
        android:layout_marginHorizontal="16dp"
        android:layout_marginBottom="16dp">
@@ -32,4 +54,5 @@
            android:layout_height="match_parent"
            android:padding="16dp" />
    </androidx.cardview.widget.CardView>
</LinearLayout>
</LinearLayout>