From 0ad9e4af0b0fe1c29ef4b830d533e246af8e801c Mon Sep 17 00:00:00 2001 From: Bram van de Kerkhof Date: Thu, 12 May 2016 14:28:44 +0200 Subject: [PATCH] Fix #267 (#299) --- .../tachiyomi/ui/download/DownloadHolder.kt | 3 ++ app/src/main/res/layout/item_download.xml | 37 ++++++++++++++----- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt index a78c402453..5022e378af 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt @@ -28,6 +28,9 @@ class DownloadHolder(private val view: View) : RecyclerView.ViewHolder(view) { // Update the chapter name. view.download_title.text = download.chapter.name + // Update the manga title + view.manga_title.text = download.manga.title + // Update the progress bar and the number of downloaded pages if (download.pages == null) { view.download_progress.progress = 0 diff --git a/app/src/main/res/layout/item_download.xml b/app/src/main/res/layout/item_download.xml index 2ec2c80209..b16d7f07b5 100644 --- a/app/src/main/res/layout/item_download.xml +++ b/app/src/main/res/layout/item_download.xml @@ -1,9 +1,10 @@ + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="15dp" + android:layout_marginRight="15dp" + android:orientation="vertical"> - + android:orientation="vertical"> + + + + + android:layout_gravity="start" + android:textAppearance="@style/TextAppearance.Regular.Caption.Hint" + android:text="(0/10)"/> + android:layout_height="wrap_content"/> \ No newline at end of file