Added a progress indicator on item loading

This commit is contained in:
antonio 2023-03-13 10:54:44 +01:00
parent 24e94039bb
commit 301142b2c6
2 changed files with 31 additions and 16 deletions

View file

@ -39,6 +39,15 @@
</com.google.android.material.appbar.MaterialToolbar>
</com.google.android.material.appbar.AppBarLayout>
<ProgressBar
android:id="@+id/loading_progress_bar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:indeterminate="true"
android:minWidth="128dp" />
<LinearLayout
android:id="@+id/empty_download_layout"
android:layout_width="match_parent"
@ -79,6 +88,7 @@
android:id="@+id/fragment_download_nested_scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<LinearLayout