<?xml version="1.0" encoding="utf-8"?>
|
<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">
|
|
<include
|
android:id="@+id/toolbar_top_fragment_house_list_rl"
|
layout="@layout/toolbar_top_view_52" />
|
|
<RelativeLayout
|
android:id="@+id/fragment_house_list_head_rl"
|
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">
|
|
<LinearLayout
|
android:id="@+id/fragment_house_list_content_ll"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="@dimen/dp_20"
|
android:layout_marginEnd="@dimen/dp_20"
|
android:orientation="horizontal">
|
|
<RelativeLayout
|
android:id="@+id/fragment_house_list_content_title1_rl"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="3"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/fragment_house_list_content_title1_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/dp_20"
|
android:text="@string/power_station_generated_power"
|
android:textColor="@color/text_90000000"
|
android:textSize="@dimen/text_14" />
|
|
<ImageView
|
android:id="@+id/fragment_house_list_content_title1_iv"
|
android:layout_width="@dimen/dp_10"
|
android:layout_height="@dimen/dp_6"
|
android:layout_alignTop="@+id/fragment_house_list_content_title1_tv"
|
android:layout_alignBottom="@+id/fragment_house_list_content_title1_tv"
|
android:layout_marginStart="@dimen/dp_7"
|
android:layout_toEndOf="@+id/fragment_house_list_content_title1_tv"
|
android:src="@drawable/down" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/fragment_house_list_content_title2_rl"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="3"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/fragment_house_list_content_title2_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/dp_20"
|
android:text="@string/power_station_Power_generation_today"
|
android:textColor="@color/text_90000000"
|
android:textSize="@dimen/text_14" />
|
|
<ImageView
|
android:id="@+id/my_power_station_content_title2_iv"
|
android:layout_width="@dimen/dp_10"
|
android:layout_height="@dimen/dp_6"
|
android:layout_alignTop="@+id/fragment_house_list_content_title2_tv"
|
android:layout_alignBottom="@+id/fragment_house_list_content_title2_tv"
|
android:layout_marginStart="@dimen/dp_7"
|
android:layout_toEndOf="@+id/fragment_house_list_content_title2_tv"
|
android:src="@drawable/down" />
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:id="@+id/fragment_house_list_content_title3_rl"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="3"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/fragment_house_list_content_title3_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/dp_20"
|
android:text="@string/power_station_creation_time"
|
android:textColor="@color/text_90000000"
|
android:textSize="@dimen/text_14" />
|
|
<ImageView
|
android:id="@+id/fragment_house_list_content_title3_iv"
|
android:layout_width="@dimen/dp_10"
|
android:layout_height="@dimen/dp_6"
|
android:layout_alignTop="@+id/fragment_house_list_content_title3_tv"
|
android:layout_alignBottom="@+id/fragment_house_list_content_title3_tv"
|
android:layout_marginStart="@dimen/dp_7"
|
android:layout_toEndOf="@+id/fragment_house_list_content_title3_tv"
|
android:src="@drawable/down" />
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
android:id="@+id/fragment_house_srl"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/fragment_house_list_head_rl">
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/fragment_house_srl_list_rc"
|
android:layout_width="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>
|