From 2d60b732a97141ebe2a434c9c6b2ccfe5886a8da Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 18 Apr 2020 22:14:17 +0800 Subject: Add awards background and text color to custom theme. Show only the number of awards on Post Compact Layout. --- app/src/main/res/layout/item_post.xml | 1 - app/src/main/res/layout/item_post_compact.xml | 17 +++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index 5f2b0d15..9de730bf 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -169,7 +169,6 @@ android:layout_height="wrap_content" android:padding="4dp" android:textSize="?attr/font_12" - android:textColor="#EEAB02" android:visibility="gone" app:lib_setRadius="3dp" app:lib_setRoundedView="true" diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml index a6375133..8b65f934 100644 --- a/app/src/main/res/layout/item_post_compact.xml +++ b/app/src/main/res/layout/item_post_compact.xml @@ -157,6 +157,17 @@ app:lib_setRoundedView="true" app:lib_setShape="rectangle" /> + + - -