mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-18 00:39:18 +01:00
ffd9c6995a
Considering there's no pagination for this list, the data loading can take some time. So this will show the existing refresh indicator instead of empty view while the list is loading.
41 lines
1.6 KiB
XML
41 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout 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:id="@+id/swipe_refresh"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:paddingTop="4dp"
|
|
android:paddingBottom="@dimen/action_toolbar_list_padding"
|
|
tools:listitem="@layout/updates_item" />
|
|
|
|
<eu.kanade.tachiyomi.widget.MaterialFastScroll
|
|
android:id="@+id/fast_scroller"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="end"
|
|
android:visibility="gone"
|
|
app:fastScrollerBubbleEnabled="false"
|
|
tools:visibility="visible" />
|
|
|
|
<eu.kanade.tachiyomi.widget.EmptyView
|
|
android:id="@+id/empty_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone" />
|
|
|
|
</FrameLayout>
|
|
|
|
</eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout>
|