mac
2023-12-27 936fb552a30c05fc7a60c20f47bf6fccbc2dc1c1
app/src/main/res/layout/fragment_house_list.xml
@@ -2,6 +2,7 @@
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/house_list_parent"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
@@ -14,6 +15,7 @@
        android:layout_width="match_parent"
        android:layout_height="@dimen/dp_64"
        android:background="@color/text_F9FAFB"
        android:visibility="gone"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/toolbar_top_fragment_house_list_rl">
@@ -38,7 +40,7 @@
                    android:id="@+id/fragment_house_list_content_title1_tv"
                    android:layout_width="wrap_content"
                    android:layout_height="@dimen/dp_20"
                    android:text="@string/my_power_station_发电功率"
                    android:text="@string/power_station_generated_power"
                    android:textColor="@color/text_90000000"
                    android:textSize="@dimen/text_14" />
@@ -65,7 +67,7 @@
                    android:id="@+id/fragment_house_list_content_title2_tv"
                    android:layout_width="wrap_content"
                    android:layout_height="@dimen/dp_20"
                    android:text="@string/my_power_station_今日发电"
                    android:text="@string/power_station_Power_generation_today"
                    android:textColor="@color/text_90000000"
                    android:textSize="@dimen/text_14" />
@@ -92,7 +94,7 @@
                    android:id="@+id/fragment_house_list_content_title3_tv"
                    android:layout_width="wrap_content"
                    android:layout_height="@dimen/dp_20"
                    android:text="@string/my_power_station_创建时间"
                    android:text="@string/power_station_creation_time"
                    android:textColor="@color/text_90000000"
                    android:textSize="@dimen/text_14" />
@@ -123,9 +125,24 @@
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/fragment_house_srl_list_rc"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />
            android:layout_height="match_parent"
            android:clipToPadding="false"
            android:paddingBottom="@dimen/dp_16" />
    </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
    <TextView
        android:id="@+id/null_list_tv"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="数据为空,赶快创建一个吧"
        android:textColor="@color/text_90000000"
        android:textSize="@dimen/text_14"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>