From d276f37d01802ff57d9076af87d83c43fa278551 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 23 Nov 2019 11:45:24 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/book/info/BookInfoActivity.kt | 4 ++-- app/src/main/res/layout/activity_book_info.xml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt index 2d179b60e..850917570 100644 --- a/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt @@ -126,9 +126,9 @@ class BookInfoActivity : VMBaseActivity(R.layout.activity_boo private fun showChapter(chapterList: List) { viewModel.bookData.value?.let { if (it.durChapterIndex < chapterList.size) { - tv_toc.text = chapterList[it.durChapterIndex].title + tv_toc.text = getString(R.string.toc_s, chapterList[it.durChapterIndex].title) } else { - tv_toc.text = chapterList.last().title + tv_toc.text = getString(R.string.toc_s, chapterList.last().title) } } upLoading(false) diff --git a/app/src/main/res/layout/activity_book_info.xml b/app/src/main/res/layout/activity_book_info.xml index 5df2e2de4..6fa8db584 100644 --- a/app/src/main/res/layout/activity_book_info.xml +++ b/app/src/main/res/layout/activity_book_info.xml @@ -76,6 +76,7 @@ android:paddingLeft="5dp" android:paddingRight="5dp" android:text="@string/change_origin" + android:textSize="16sp" app:abt_radius="2dp" /> @@ -97,7 +98,7 @@ android:paddingRight="3dp" android:singleLine="true" android:text="@string/app_name" - android:textSize="13sp" + android:textSize="14sp" app:abt_radius="2dp" />