aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_post.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.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.xml')
-rw-r--r--app/src/main/res/layout/item_post.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml
index 80fee855..113f6855 100644
--- a/app/src/main/res/layout/item_post.xml
+++ b/app/src/main/res/layout/item_post.xml
@@ -49,7 +49,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"
@@ -64,7 +64,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginEnd="8dp"
- android:tint="@color/backgroundColorPrimaryDark"
+ android:tint="?attr/stickiedPost"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/name_text_view_item_post"
@@ -127,8 +127,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" />
@@ -144,8 +144,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" />
@@ -174,8 +174,8 @@
android:padding="4dp"
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" />
@@ -194,7 +194,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_archive_outline"
- android:tint="@color/archivedTint"
+ android:tint="?attr/archivedTint"
android:visibility="gone" />
<ImageView
@@ -202,7 +202,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_outline_lock_24dp"
- android:tint="@color/lockedIconTint"
+ android:tint="?attr/lockedIconTint"
android:visibility="gone" />
<ImageView
@@ -210,7 +210,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/crosspost"
- android:tint="@color/colorAccent"
+ android:tint="?attr/crosspost"
android:visibility="gone" />
</com.nex3z.flowlayout.FlowLayout>