aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_post_detail.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-02-26 14:40:15 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-02-26 14:40:15 +0000
commit0f36ad4e1db8789fb012a54b8b6f81dbca49e828 (patch)
tree2f2664f06e4a685dfd485024553230c54b6e06ba /app/src/main/res/layout/item_post_detail.xml
parent64330146790cf3b216f32801f3e19a778bbc18b8 (diff)
downloadinfinity-for-reddit-0f36ad4e1db8789fb012a54b8b6f81dbca49e828.tar
infinity-for-reddit-0f36ad4e1db8789fb012a54b8b6f81dbca49e828.tar.gz
infinity-for-reddit-0f36ad4e1db8789fb012a54b8b6f81dbca49e828.tar.bz2
infinity-for-reddit-0f36ad4e1db8789fb012a54b8b6f81dbca49e828.tar.lz
infinity-for-reddit-0f36ad4e1db8789fb012a54b8b6f81dbca49e828.tar.xz
infinity-for-reddit-0f36ad4e1db8789fb012a54b8b6f81dbca49e828.tar.zst
infinity-for-reddit-0f36ad4e1db8789fb012a54b8b6f81dbca49e828.zip
Prepare to add different themes. Try fixing timeout issue in okhttp3.
Diffstat (limited to 'app/src/main/res/layout/item_post_detail.xml')
-rw-r--r--app/src/main/res/layout/item_post_detail.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml
index 54d48283..e0bcc418 100644
--- a/app/src/main/res/layout/item_post_detail.xml
+++ b/app/src/main/res/layout/item_post_detail.xml
@@ -26,7 +26,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
- android:textColor="@color/colorAccent"
+ android:textColor="?attr/subreddit"
android:textSize="?attr/font_default"
android:maxLines="2"
android:ellipsize="end"
@@ -41,7 +41,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
- android:textColor="@color/colorPrimaryDarkDayNightTheme"
+ android:textColor="?attr/username"
android:textSize="?attr/font_default"
android:maxLines="2"
android:ellipsize="end"
@@ -109,8 +109,8 @@
android:padding="4dp"
android:textSize="?attr/font_12"
android:textColor="@android:color/white"
- app:lib_setRoundedBGColor="@color/backgroundColorPrimaryDark"
- app:lib_setRoundedBorderColor="@color/backgroundColorPrimaryDark"
+ app:lib_setRoundedBGColor="?attr/post_type"
+ app:lib_setRoundedBorderColor="?attr/post_type"
app:lib_setRadius="3dp"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -126,8 +126,8 @@
android:padding="4dp"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="@color/spoilerBackgroundColor"
- app:lib_setRoundedBorderColor="@color/spoilerBackgroundColor"
+ app:lib_setRoundedBGColor="?attr/spoilerColor"
+ app:lib_setRoundedBorderColor="?attr/spoilerColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -156,8 +156,8 @@
android:textColor="@android:color/white"
android:visibility="gone"
app:lib_setRadius="3dp"
- app:lib_setRoundedBGColor="@color/flairBackgroundColor"
- app:lib_setRoundedBorderColor="@color/flairBackgroundColor"
+ app:lib_setRoundedBGColor="?attr/flairColor"
+ app:lib_setRoundedBorderColor="?attr/flairColor"
app:lib_setRoundedView="true"
app:lib_setShape="rectangle" />
@@ -176,7 +176,7 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/ic_archive_outline"
- android:tint="@color/archivedTint"
+ android:tint="?attr/archivedTint"
android:visibility="gone" />
<ImageView
@@ -184,7 +184,7 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/ic_outline_lock_24dp"
- android:tint="@color/lockedIconTint"
+ android:tint="?attr/lockedIconTint"
android:visibility="gone" />
<ImageView
@@ -192,7 +192,7 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@drawable/crosspost"
- android:tint="@color/colorAccent"
+ android:tint="?attr/crosspost"
android:visibility="gone" />
</com.nex3z.flowlayout.FlowLayout>