pull/1999/head
kunfei 2 years ago
parent 6026b45aac
commit 91ecbee097
  1. 1
      app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt
  2. 2
      app/src/main/res/layout/activity_import_book.xml

@ -115,6 +115,7 @@ class ImportBookActivity : VMBaseActivity<ActivityImportBookBinding, ImportBookV
private fun initView() {
binding.layTop.setBackgroundColor(backgroundColor)
binding.tvEmptyMsg.setText(R.string.empty_msg_import_book)
binding.recyclerView.layoutManager = LinearLayoutManager(this)
binding.recyclerView.adapter = adapter
binding.selectActionBar.setMainActionText(R.string.add_to_shelf)

@ -78,7 +78,7 @@
android:layout_gravity="center"
android:layout_margin="16dp"
android:gravity="center"
android:text="@string/empty_msg_import_book"
android:text="@string/empty"
android:visibility="gone"
tools:text="TextView" />

Loading…
Cancel
Save