feat: 优化代码

pull/95/head
kunfei 5 years ago
parent a2cfe8d17d
commit 18ef671211
  1. 2
      app/src/main/java/io/legado/app/ui/widget/SelectActionBar.kt
  2. 2
      app/src/main/res/layout/item_arrange_book.xml

@ -88,6 +88,8 @@ class SelectActionBar(context: Context, attrs: AttributeSet?) : LinearLayoutComp
btn_revert_selection.isClickable = isClickable
btn_select_action_main.isEnabled = isClickable
btn_select_action_main.isClickable = isClickable
iv_menu_more.isEnabled = isClickable
iv_menu_more.isClickable = isClickable
}
interface CallBack {

@ -44,6 +44,7 @@
android:id="@+id/tv_group"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="10dp"
android:text="@string/group"
app:layout_constraintTop_toTopOf="parent"
@ -54,6 +55,7 @@
android:id="@+id/tv_delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="10dp"
android:text="@string/delete"
app:layout_constraintTop_toTopOf="parent"

Loading…
Cancel
Save