Add episode number to episode name

This commit is contained in:
Jarne Demeulemeester 2021-06-27 15:29:07 +02:00
parent 151ee6cae7
commit 4a42be9c0c
No known key found for this signature in database
GPG key ID: B61B7B150DB6A6D2
2 changed files with 2 additions and 1 deletions

View file

@ -47,7 +47,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:text="@{episode.name}"
android:text="@{String.format(@string/episode_name, episode.indexNumber, episode.name)}"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
app:layout_constraintBottom_toTopOf="@id/episode_desc"
app:layout_constraintEnd_toEndOf="parent"

View file

@ -32,4 +32,5 @@
<string name="check_button_description">Mark as watched or unwatched</string>
<string name="favorite_button_description">Favorite</string>
<string name="episode_watched_indicator">Episode watched indicator</string>
<string name="episode_name">%1$d. %2$s</string>
</resources>