From eb8097cb8517726094115410777083d5f63701f0 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期三, 15 五月 2024 15:08:54 +0800
Subject: [PATCH] 2024年05月15日15:08:47

---
 app/src/main/res/layout/fragment_home_page.xml |   27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/app/src/main/res/layout/fragment_home_page.xml b/app/src/main/res/layout/fragment_home_page.xml
index 998fe5f..8436240 100644
--- a/app/src/main/res/layout/fragment_home_page.xml
+++ b/app/src/main/res/layout/fragment_home_page.xml
@@ -29,7 +29,7 @@
 
     <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
         android:id="@+id/srl"
-        android:layout_width="0dp"
+        android:layout_width="match_parent"
         android:layout_height="0dp"
         android:layout_marginTop="@dimen/dp_26"
         app:layout_constraintBottom_toBottomOf="parent"
@@ -39,13 +39,9 @@
 
         <ScrollView
             android:id="@+id/sl"
-            android:layout_width="0dp"
-            android:layout_height="0dp"
-            android:layout_marginTop="@dimen/dp_26"
-            app:layout_constraintBottom_toBottomOf="parent"
-            app:layout_constraintEnd_toEndOf="parent"
-            app:layout_constraintStart_toStartOf="parent"
-            app:layout_constraintTop_toBottomOf="@+id/home_page_title_tv">
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:layout_marginTop="@dimen/dp_26">
 
             <androidx.constraintlayout.widget.ConstraintLayout
                 android:layout_width="match_parent"
@@ -349,7 +345,7 @@
 
                     </RelativeLayout>
                 </androidx.constraintlayout.widget.ConstraintLayout>
-
+                <!--鏃ユ湡-->
                 <androidx.constraintlayout.widget.ConstraintLayout
                     android:id="@+id/home_page_station_data_cl"
                     android:layout_width="match_parent"
@@ -547,14 +543,21 @@
 
                     </RelativeLayout>
 
-                    <com.github.AAChartModel.AAChartCore.AAChartCreator.AAChartView
-                        android:id="@+id/AAChartView"
+                    <FrameLayout
                         android:layout_width="0dp"
                         android:layout_height="284dp"
                         android:layout_marginTop="@dimen/dp_18"
                         app:layout_constraintEnd_toEndOf="parent"
                         app:layout_constraintStart_toStartOf="parent"
-                        app:layout_constraintTop_toBottomOf="@+id/chart_title_rl" />
+                        app:layout_constraintTop_toBottomOf="@+id/chart_title_rl">
+
+                        <com.hdl.photovoltaic.ui.home.AutoSizeMyAAChart
+                            android:id="@+id/autoSizeMyAAChart"
+                            android:layout_width="match_parent"
+                            android:layout_height="match_parent"
+
+                            />
+                    </FrameLayout>
                 </androidx.constraintlayout.widget.ConstraintLayout>
 
                 <androidx.constraintlayout.widget.ConstraintLayout

--
Gitblit v1.8.0