Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlvaro Brey <alvaro.brey@nextcloud.com>2022-11-03 18:45:21 +0300
committerGitHub <noreply@github.com>2022-11-03 18:45:21 +0300
commit8f3d3771df35045ec66abacdbe3d0a1814cf8a26 (patch)
tree119f526b1f35b9bbeebebe2f2c2d7f810eccccc4
parent0c04e336a3f921e56c0476edbbbb863aa6b867d2 (diff)
parent9364da50774bfbeab168d67bb515fa542ed0b144 (diff)
Merge pull request #10974 from nextcloud/fix/refresh-empty-folder
List fragments: Add empty list as a child of SwipeRefreshLayout, not outside it.
-rw-r--r--app/src/main/res/layout/list_fragment.xml19
1 files changed, 10 insertions, 9 deletions
diff --git a/app/src/main/res/layout/list_fragment.xml b/app/src/main/res/layout/list_fragment.xml
index 6a32d7e597..91aa34d25d 100644
--- a/app/src/main/res/layout/list_fragment.xml
+++ b/app/src/main/res/layout/list_fragment.xml
@@ -29,15 +29,16 @@
android:footerDividersEnabled="false"
android:visibility="visible"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
-
- <com.owncloud.android.ui.EmptyRecyclerView
- android:id="@+id/list_root"
+ <FrameLayout
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent">
+ <com.owncloud.android.ui.EmptyRecyclerView
+ android:id="@+id/list_root"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+ <include
+ android:id="@+id/empty_list"
+ layout="@layout/empty_list" />
+ </FrameLayout>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
-
- <include
- android:id="@+id/empty_list"
- layout="@layout/empty_list" />
-
</RelativeLayout>