aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-04-18 14:14:17 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-04-18 14:14:17 +0000
commit2d60b732a97141ebe2a434c9c6b2ccfe5886a8da (patch)
treec3b82e47db664649bbcf488bea4a74e783d2c054 /app/src/main/res/layout
parent2f72e654eb9b3f92fc03a5b877a4ebcacbdcdab2 (diff)
downloadinfinity-for-reddit-2d60b732a97141ebe2a434c9c6b2ccfe5886a8da.tar
infinity-for-reddit-2d60b732a97141ebe2a434c9c6b2ccfe5886a8da.tar.gz
infinity-for-reddit-2d60b732a97141ebe2a434c9c6b2ccfe5886a8da.tar.bz2
infinity-for-reddit-2d60b732a97141ebe2a434c9c6b2ccfe5886a8da.tar.lz
infinity-for-reddit-2d60b732a97141ebe2a434c9c6b2ccfe5886a8da.tar.xz
infinity-for-reddit-2d60b732a97141ebe2a434c9c6b2ccfe5886a8da.tar.zst
infinity-for-reddit-2d60b732a97141ebe2a434c9c6b2ccfe5886a8da.zip
Add awards background and text color to custom theme. Show only the number of awards on Post Compact Layout.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/item_post.xml1
-rw-r--r--app/src/main/res/layout/item_post_compact.xml17
2 files changed, 11 insertions, 7 deletions
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" />
+ <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