pull/90/head^2
kunfei 5 years ago
parent 6dcadcd5d7
commit e35bafb0f7
  1. 7
      app/src/main/java/io/legado/app/ui/book/arrange/ArrangeBookActivity.kt
  2. 4
      app/src/main/res/layout/activity_arrange_book.xml

@ -66,6 +66,13 @@ class ArrangeBookActivity : VMBaseActivity<ArrangeBookViewModel>(R.layout.activi
} }
}.show().applyTint() }.show().applyTint()
} }
btn_to_group.onClick {
if (adapter.selectedBooks.isEmpty()) {
toast(R.string.non_select)
return@onClick
}
}
} }
private fun initData() { private fun initData() {

@ -46,7 +46,7 @@
tools:ignore="RelativeOverlap" /> tools:ignore="RelativeOverlap" />
<io.legado.app.lib.theme.view.ATEAccentStrokeTextView <io.legado.app.lib.theme.view.ATEAccentStrokeTextView
android:id="@+id/btn_add_group" android:id="@+id/btn_to_group"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="35dp"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
@ -63,7 +63,7 @@
android:layout_marginLeft="10dp" android:layout_marginLeft="10dp"
android:layout_marginRight="10dp" android:layout_marginRight="10dp"
android:gravity="center" android:gravity="center"
android:layout_toLeftOf="@id/btn_add_group" android:layout_toLeftOf="@id/btn_to_group"
android:text="@string/delete" /> android:text="@string/delete" />
</RelativeLayout> </RelativeLayout>
</LinearLayout> </LinearLayout>
Loading…
Cancel
Save