刪除最近閲讀

pull/34/head
mabdc 5 years ago
parent 4c72a094a5
commit d9c9802ef2
  1. 1
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt
  2. 10
      app/src/main/res/layout/fragment_bookshelf.xml

@ -72,7 +72,6 @@ class BookshelfFragment : VMBaseFragment<BookshelfViewModel>(R.layout.fragment_b
refresh_layout.isRefreshing = false refresh_layout.isRefreshing = false
viewModel.upChapterList() viewModel.upChapterList()
} }
tv_recent_reading.textColor = accentColor
rv_book_group.layoutManager = rv_book_group.layoutManager =
LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false) LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false)
bookGroupAdapter = BookGroupAdapter() bookGroupAdapter = BookGroupAdapter()

@ -18,16 +18,6 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:overScrollMode="never"/> android:overScrollMode="never"/>
<TextView
android:id="@+id/tv_recent_reading"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:elevation="3dp"
android:focusable="true"
android:padding="5dp"
android:text="@string/recent_reading"/>
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/refresh_layout" android:id="@+id/refresh_layout"
android:layout_width="match_parent" android:layout_width="match_parent"

Loading…
Cancel
Save