|
@@ -20,6 +20,7 @@
|
|
|
|
|
|
<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">
|
|
@@ -27,8 +28,8 @@
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="@dimen/zero"
|
|
|
android:layout_marginStart="@dimen/standard_padding"
|
|
|
+ android:layout_marginEnd="@dimen/zero"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
@@ -52,34 +53,60 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
- android:id="@+id/swipe_containing_list"
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:footerDividersEnabled="false"
|
|
|
- android:visibility="visible">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@android:id/list"
|
|
|
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
+ android:id="@+id/swipe_containing_list"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:clipToPadding="false"
|
|
|
- android:scrollbarStyle="outsideOverlay"
|
|
|
- android:scrollbars="vertical"
|
|
|
- android:visibility="visible"/>
|
|
|
+ android:footerDividersEnabled="false"
|
|
|
+ android:visibility="visible">
|
|
|
|
|
|
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@android:id/list"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="-3dp"
|
|
|
+ android:layout_marginRight="-3dp"
|
|
|
+ android:layout_marginBottom="-3dp"
|
|
|
+ android:background="@color/bg_default"
|
|
|
+ android:clipToPadding="false"
|
|
|
+ android:scrollbarStyle="outsideOverlay"
|
|
|
+ android:scrollbars="vertical"
|
|
|
+ android:visibility="visible"
|
|
|
+ tools:listitem="@layout/activity_list_item" />
|
|
|
|
|
|
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
- android:id="@+id/swipe_containing_empty"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:footerDividersEnabled="false"
|
|
|
- android:visibility="visible">
|
|
|
-
|
|
|
- <include
|
|
|
- android:id="@+id/empty_list"
|
|
|
- layout="@layout/empty_list" />
|
|
|
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
+
|
|
|
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
+ android:id="@+id/swipe_containing_empty"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:footerDividersEnabled="false"
|
|
|
+ android:visibility="visible">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/loading_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="visible">
|
|
|
+
|
|
|
+ <include layout="@layout/activity_list_item_header_shimmer" />
|
|
|
+ <include layout="@layout/activity_list_item_shimmer" />
|
|
|
+ <include layout="@layout/activity_list_item_header_shimmer" />
|
|
|
+ <include layout="@layout/activity_list_item_shimmer" />
|
|
|
+ <include layout="@layout/activity_list_item_shimmer" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <include
|
|
|
+ android:id="@+id/empty_list"
|
|
|
+ layout="@layout/empty_list" />
|
|
|
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
</LinearLayout>
|