Empty stats state

This commit is contained in:
Koitharu
2024-03-01 10:34:31 +02:00
parent f2626c668d
commit 8e82db441c
4 changed files with 52 additions and 3 deletions

View File

@@ -66,4 +66,15 @@
tools:itemCount="4"
tools:listitem="@layout/item_stats" />
<ViewStub
android:id="@+id/stub_empty"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout="@layout/item_empty_state"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/appbar"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -616,4 +616,5 @@
<string name="all_time">All time</string>
<string name="day">Day</string>
<string name="three_months">Three months</string>
<string name="empty_stats_text">There are no statistics for the selected period</string>
</resources>