Show library size in About screen

This commit is contained in:
Nolan Hoenert
2025-12-31 20:38:09 -07:00
committed by Alexander Capehart
parent 8fd3ef8eaa
commit 869ab8aadb
5 changed files with 50 additions and 2 deletions
@@ -364,6 +364,17 @@
app:layout_constraintTop_toBottomOf="@+id/about_licenses"
tools:text="Total duration: 16:16:16" />
<TextView
android:id="@+id/about_total_size"
style="@style/Widget.Auxio.TextView.Icon"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:drawableStartCompat="@drawable/ic_time_24"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/about_licenses"
tools:text="Total size: 1.2 GB" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
+1
View File
@@ -470,6 +470,7 @@
<string name="fmt_lib_genre_count">Genres loaded: %d</string>
<!-- As in the total duration of all songs in the music library -->
<string name="fmt_lib_total_duration">Total duration: %s</string>
<string name="fmt_lib_total_size">Total size: %s</string>
<plurals name="fmt_song_count">
<item quantity="one">%d song</item>