fix: add progress spinners

This commit is contained in:
ThetaDev 2022-10-23 17:11:07 +02:00 committed by Stypox
parent 4859ab67d4
commit 506e3724a6
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
2 changed files with 18 additions and 0 deletions

View file

@ -11,6 +11,15 @@
android:scrollbars="vertical" android:scrollbars="vertical"
tools:listitem="@layout/list_stream_item" /> tools:listitem="@layout/list_stream_item" />
<ProgressBar
android:id="@+id/loading_progress_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:indeterminate="true"
android:visibility="gone"
tools:visibility="visible" />
<include <include
android:id="@+id/empty_state_view" android:id="@+id/empty_state_view"
layout="@layout/list_empty_view" layout="@layout/list_empty_view"

View file

@ -11,6 +11,15 @@
android:scrollbars="vertical" android:scrollbars="vertical"
tools:listitem="@layout/list_stream_item" /> tools:listitem="@layout/list_stream_item" />
<ProgressBar
android:id="@+id/loading_progress_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:indeterminate="true"
android:visibility="gone"
tools:visibility="visible" />
<LinearLayout <LinearLayout
android:id="@+id/empty_state_view" android:id="@+id/empty_state_view"
android:layout_width="wrap_content" android:layout_width="wrap_content"