pull/90/head^2
kunfei 5 years ago
parent 8816450b12
commit 5fdd51427a
  1. 2
      app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookAdapter.kt
  2. 3
      app/src/main/res/layout/item_arrange_book.xml

@ -15,7 +15,7 @@ class ArrangeBookAdapter(context: Context) :
override fun convert(holder: ItemViewHolder, item: Book, payloads: MutableList<Any>) {
with(holder.itemView) {
tv_name.text = item.name
tv_author.text = item.author
tv_author.text = context.getString(R.string.author_show, item.author)
}
}

@ -21,6 +21,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:padding="3dp"
android:textSize="16sp"
android:text="@string/book_name"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/tv_author"
app:layout_constraintLeft_toRightOf="@id/checkbox"
@ -31,6 +33,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:padding="3dp"
android:text="@string/author"
app:layout_constraintLeft_toRightOf="@+id/checkbox"
app:layout_constraintTop_toBottomOf="@id/tv_name"
app:layout_constraintBottom_toBottomOf="parent"

Loading…
Cancel
Save