mac
2024-02-29 7152ea130caebe9b99a31f3d1b77a39fecce36df
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,23 @@
        <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>
    <!--没有数据显示样式-->
    <include
        android:id="@+id/null_data_ic"
        layout="@layout/null_data_view"
        android:layout_width="match_parent"
        android:layout_height="224dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:visibility="gone"
        />
</androidx.constraintlayout.widget.ConstraintLayout>