Files
fastbee/android/app/src/main/res/layout/fragment_simple_tab.xml
2021-05-19 15:47:38 +08:00

57 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:id="@+id/refreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srlEnableAutoLoadMore="true"
app:srlEnableLoadMore="true"
app:srlEnableLoadMoreWhenContentNotFull="true">
<com.scwang.smartrefresh.header.MaterialHeader
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="10dp"
android:overScrollMode="never"
android:scrollbarSize="4dp"
tools:listitem="@layout/adapter_device_card_view_list_item" />
<!-- <TextView-->
<!-- android:id="@+id/tv_title"-->
<!-- style="@style/TextStyle.Title"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- tools:text="这里是xx页面" />-->
<!-- <TextView-->
<!-- android:id="@+id/tv_explain"-->
<!-- style="@style/TextStyle.Explain"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginTop="20dp"-->
<!-- tools:text="这里是xx页面描述" />-->
<!-- 注意修改包名时,这里也需要修改 -->
<com.kerwin.wumei.widget.MaterialFooter
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxHeight="48dp"
android:minHeight="48dp" />
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
</LinearLayout>