diff --git a/app/src/main/java/com/hippo/ehviewer/ui/scene/GalleryDetailScene.java b/app/src/main/java/com/hippo/ehviewer/ui/scene/GalleryDetailScene.java index 3fe69284b..6f28baf79 100644 --- a/app/src/main/java/com/hippo/ehviewer/ui/scene/GalleryDetailScene.java +++ b/app/src/main/java/com/hippo/ehviewer/ui/scene/GalleryDetailScene.java @@ -834,8 +834,8 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene mNoTags.setVisibility(View.GONE); } - int colorTag = AttrResources.getAttrColor(context, R.attr.contentColorThemePrimary);//resources.getColor(R.color.colorPrimary); - int colorName = AttrResources.getAttrColor(context, R.attr.contentColorThemeAccent);//resources.getColor(R.color.purple_a400); + int colorTag = AttrResources.getAttrColor(context, R.attr.contentColorThemePrimary); + int colorName = AttrResources.getAttrColor(context, R.attr.contentColorThemeAccent); for (GalleryTagGroup tg : tagGroups) { LinearLayout ll = (LinearLayout) inflater.inflate(R.layout.gallery_tag_group, mTags, false); ll.setOrientation(LinearLayout.HORIZONTAL); diff --git a/app/src/main/res/layout/item_filter.xml b/app/src/main/res/layout/item_filter.xml index 2c46466ce..379180462 100644 --- a/app/src/main/res/layout/item_filter.xml +++ b/app/src/main/res/layout/item_filter.xml @@ -25,7 +25,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:background="@android:color/white"> + android:background="?attr/contentColorPrimary"> + android:background="?attr/contentColorPrimary">