1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?xml version="1.0" encoding="utf-8"?>
- <layout 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" >
- <data >
- <variable
- name="vm"
- type="com.quansu.heifengwuliu.vmodel.CollectionVModel" />
- </data >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/color_bg"
- android:orientation="vertical" >
- <com.quansu.heifengwuliu.widget.SearchView
- android:id="@+id/search"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:vm="@{vm}" />
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
- android:id="@+id/refresh_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recycler_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingBottom="106dp"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
- tools:listitem="@layout/item_collection" />
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout >
- <FrameLayout
- android:id="@+id/fl_sure"
- android:layout_width="match_parent"
- android:layout_marginStart="16dp"
- android:layout_marginEnd="@dimen/dp_16"
- android:layout_gravity="bottom"
- android:layout_height="wrap_content">
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="106dp"
- android:src="@drawable/ic_details_grab" />
- <TextView
- android:id="@+id/tv_sure"
- android:layout_width="wrap_content"
- android:layout_gravity="center"
- android:text="添加车辆"
- android:textColor="@color/white"
- android:textSize="16sp"
- android:layout_height="wrap_content">
- </TextView>
- </FrameLayout>
- </FrameLayout >
- </LinearLayout >
- </layout >
|