From cf9bc941487df8dfb0780d3e8f1281f4e397b5fa Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期四, 06 三月 2025 10:33:57 +0800 Subject: [PATCH] fix: 3 --- app/src/main/res/layout/fragment_dashboard.xml | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index ddd092e..5b9b473 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -101,15 +101,22 @@ </LinearLayout> </androidx.cardview.widget.CardView> - <!-- 包裹列表 --> + <!-- 年度统计布局 --> + <include + android:id="@+id/layout_year_stats" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="gone" + app:layout_constraintTop_toBottomOf="@id/card_package_stats" + layout="@layout/layout_year_stats" /> + + <!-- 包裹列表和统计图表 --> <androidx.core.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="0dp" android:fillViewport="true" - android:clipToPadding="false" - app:layout_constraintTop_toBottomOf="@id/card_package_stats" - app:layout_constraintBottom_toBottomOf="parent" - android:layout_marginBottom="56dp"> + app:layout_constraintTop_toBottomOf="@id/layout_year_stats" + app:layout_constraintBottom_toBottomOf="parent"> <ViewFlipper android:id="@+id/view_flipper_stats" -- Gitblit v1.9.3