diff --git a/app/src/main/java/io/legado/app/ui/rss/source/manage/GroupManageDialog.kt b/app/src/main/java/io/legado/app/ui/rss/source/manage/GroupManageDialog.kt index 2b49eea70..464f58a0b 100644 --- a/app/src/main/java/io/legado/app/ui/rss/source/manage/GroupManageDialog.kt +++ b/app/src/main/java/io/legado/app/ui/rss/source/manage/GroupManageDialog.kt @@ -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 ) { with(binding) { + root.setBackgroundColor(context.backgroundColor) tvGroup.text = item } } diff --git a/app/src/main/res/layout/item_group_manage.xml b/app/src/main/res/layout/item_group_manage.xml index 763a19acd..183243cb6 100644 --- a/app/src/main/res/layout/item_group_manage.xml +++ b/app/src/main/res/layout/item_group_manage.xml @@ -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"> + android:layout_weight="1" + android:textColor="@color/primaryText" /> + android:text="@string/edit" + android:textColor="@color/primaryText" /> + android:text="@string/delete" + android:textColor="@color/primaryText" /> \ No newline at end of file