Show library size in About screen
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user