diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt index b3aa3f2be..8d83af662 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt @@ -13,8 +13,10 @@ import io.legado.app.R import io.legado.app.base.BaseFragment import io.legado.app.data.entities.Book import io.legado.app.data.entities.BookGroup +import io.legado.app.lib.theme.ThemeStore import kotlinx.android.synthetic.main.fragment_bookshelf.* import kotlinx.android.synthetic.main.view_title_bar.* +import org.jetbrains.anko.textColor class BookshelfFragment : BaseFragment(R.layout.fragment_bookshelf) { @@ -35,6 +37,7 @@ class BookshelfFragment : BaseFragment(R.layout.fragment_bookshelf) { } private fun initRecyclerView() { + tv_recent_reading.textColor = ThemeStore.accentColor(tv_recent_reading.context) rv_book_group.layoutManager = LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false) bookGroupAdapter = BookGroupAdapter() rv_book_group.adapter = bookGroupAdapter diff --git a/app/src/main/res/layout/fragment_bookshelf.xml b/app/src/main/res/layout/fragment_bookshelf.xml index b7be3a24d..4ded61ede 100644 --- a/app/src/main/res/layout/fragment_bookshelf.xml +++ b/app/src/main/res/layout/fragment_bookshelf.xml @@ -17,6 +17,13 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> + + 启用 书架 + 最近阅读 最后阅读 让阅读成为一种习惯。 更新日志