pull/995/head
gedoor 4 years ago
parent 7e1b24c83c
commit 7a89e236c6
  1. 2
      app/src/main/java/io/legado/app/ui/rss/source/manage/GroupManageDialog.kt
  2. 13
      app/src/main/res/layout/item_group_manage.xml

@ -21,6 +21,7 @@ import io.legado.app.databinding.DialogRecyclerViewBinding
import io.legado.app.databinding.ItemGroupManageBinding
import io.legado.app.lib.dialogs.alert
import io.legado.app.lib.theme.accentColor
import io.legado.app.lib.theme.backgroundColor
import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.recycler.VerticalDivider
import io.legado.app.utils.*
@ -128,6 +129,7 @@ class GroupManageDialog : BaseDialogFragment(), Toolbar.OnMenuItemClickListener
payloads: MutableList<Any>
) {
with(binding) {
root.setBackgroundColor(context.backgroundColor)
tvGroup.text = item
}
}

@ -3,15 +3,16 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:padding="8dp"
android:gravity="center_vertical"
android:orientation="horizontal">
android:orientation="horizontal"
android:padding="8dp">
<TextView
android:id="@+id/tv_group"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
android:layout_weight="1"
android:textColor="@color/primaryText" />
<TextView
android:id="@+id/tv_edit"
@ -19,7 +20,8 @@
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:padding="8dp"
android:text="@string/edit" />
android:text="@string/edit"
android:textColor="@color/primaryText" />
<TextView
android:id="@+id/tv_del"
@ -27,6 +29,7 @@
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:padding="8dp"
android:text="@string/delete" />
android:text="@string/delete"
android:textColor="@color/primaryText" />
</LinearLayout>
Loading…
Cancel
Save