aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_post.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-02-27 08:58:15 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-02-27 08:58:15 +0000
commite1ce1af47a7eb5fd92570460122cd3c2aea11905 (patch)
tree206dee76245a37cdb32c5fadf4d20fa75d42c157 /app/src/main/res/layout/item_post.xml
parent0f36ad4e1db8789fb012a54b8b6f81dbca49e828 (diff)
downloadinfinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.gz
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.bz2
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.lz
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.xz
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.tar.zst
infinity-for-reddit-e1ce1af47a7eb5fd92570460122cd3c2aea11905.zip
Still prepare to add different themes.
Diffstat (limited to 'app/src/main/res/layout/item_post.xml')
-rw-r--r--app/src/main/res/layout/item_post.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml
index 113f6855..3acff256 100644
--- a/app/src/main/res/layout/item_post.xml
+++ b/app/src/main/res/layout/item_post.xml
@@ -98,7 +98,7 @@
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textSize="?attr/title_font_18"
- android:textColor="@color/primaryTextColor" />
+ android:textColor="?attr/primaryTextColor" />
<TextView
android:id="@+id/content_text_view_item_post"
@@ -158,8 +158,8 @@
android:textSize="?attr/font_12"
android:textColor="@android:color/white"
android:visibility="gone"
- app:lib_setRoundedBGColor="@color/colorAccent"
- app:lib_setRoundedBorderColor="@color/colorAccent"
+ app:lib_setRoundedBGColor="?attr/nsfwColor"
+ app:lib_setRoundedBorderColor="?attr/nsfwColor"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -287,7 +287,7 @@
android:scaleType="center"
android:src="@drawable/ic_link"
android:tint="@android:color/tab_indicator_text"
- android:background="@color/grey"
+ android:background="?attr/noPreviewLinkBackgroundColor"
android:visibility="gone"/>
<androidx.constraintlayout.widget.ConstraintLayout