Add awards background and text color to custom theme. Show only the number of awards on Post Compact Layout.

This commit is contained in:
Alex Ning
2020-04-18 22:14:17 +08:00
parent 2f72e654eb
commit 2d60b732a9
9 changed files with 118 additions and 59 deletions

View File

@@ -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"

View File

@@ -157,6 +157,17 @@
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
<com.libRG.CustomTextView
android:id="@+id/awards_text_view_item_post_compact"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="4dp"
android:textSize="?attr/font_10"
android:visibility="gone"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
<ImageView
android:id="@+id/archived_image_view_item_post_compact"
android:layout_width="24dp"
@@ -178,12 +189,6 @@
android:src="@drawable/crosspost"
android:visibility="gone" />
<TextView
android:id="@+id/awards_text_view_item_post_compact"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone" />
</com.nex3z.flowlayout.FlowLayout>
<TextView