Add tagGroupBackgroundColor and tagBackgroundColor attribute

This commit is contained in:
seven332 committed 2018-10-22 13:05:38 +08:00
1 parent 730b52d6cd
commit 2c544607ec
4 files changed
+47 -6

No files matched your search

@@ -834,8 +834,8 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
mNoTags.setVisibility(View.GONE);
}
int colorTag = AttrResources.getAttrColor(context, R.attr.contentColorThemePrimary);
int colorName = AttrResources.getAttrColor(context, R.attr.contentColorThemeAccent);
int colorTag = AttrResources.getAttrColor(context, R.attr.tagBackgroundColor);
int colorName = AttrResources.getAttrColor(context, R.attr.tagGroupBackgroundColor);
for (GalleryTagGroup tg : tagGroups) {
LinearLayout ll = (LinearLayout) inflater.inflate(R.layout.gallery_tag_group, mTags, false);
ll.setOrientation(LinearLayout.HORIZONTAL);