<androidx.coordinatorlayout.widget.CoordinatorLayout 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="wrap_content"
|
android:gravity="center_horizontal">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="horizontal">
|
|
|
</LinearLayout>
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
android:id="@+id/list_activity_swipe_layout"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/itemListView"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:scrollbars="vertical" />
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
</LinearLayout>
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
android:id="@+id/fab"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_alignParentBottom="true"
|
android:layout_gravity="bottom|end"
|
android:layout_margin="16dp"
|
android:tint="@android:color/white"
|
app:srcCompat="@drawable/ic_refresh" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|