diff --git a/app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt b/app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt
index 050f9f502..6c67d3353 100644
--- a/app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt
+++ b/app/src/main/java/io/legado/app/ui/download/DownloadAdapter.kt
@@ -6,6 +6,7 @@ import io.legado.app.base.adapter.ItemViewHolder
import io.legado.app.base.adapter.SimpleRecyclerAdapter
import io.legado.app.data.entities.Book
import kotlinx.android.synthetic.main.item_download.view.*
+import org.jetbrains.anko.sdk27.listeners.onClick
class DownloadAdapter(context: Context) :
@@ -25,6 +26,9 @@ class DownloadAdapter(context: Context) :
tv_download.text =
context.getString(R.string.download_count, cs.size, item.totalChapterNum)
}
+ tv_export.onClick {
+
+ }
} else {
val cacheSize = cacheChapters[item.bookUrl]?.size ?: 0
tv_download.text =
diff --git a/app/src/main/res/layout/item_download.xml b/app/src/main/res/layout/item_download.xml
index f23794e94..3d774e41e 100644
--- a/app/src/main/res/layout/item_download.xml
+++ b/app/src/main/res/layout/item_download.xml
@@ -1,23 +1,46 @@
-
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ app:layout_constraintRight_toLeftOf="@+id/tv_export"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintLeft_toLeftOf="parent" />
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ app:layout_constraintRight_toLeftOf="@+id/tv_export"
+ app:layout_constraintTop_toBottomOf="@+id/tv_name"
+ app:layout_constraintLeft_toLeftOf="parent" />
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ app:layout_constraintRight_toLeftOf="@+id/tv_export"
+ app:layout_constraintTop_toBottomOf="@id/tv_author"
+ app:layout_constraintLeft_toLeftOf="parent" />
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 61c3796cc..c47e61a4e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -554,6 +554,7 @@
启用所选
禁用所选
导出所选
+ 导出
加载目录
TTS
输入你的WebDav授权密码