diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-04-18 03:34:43 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-04-18 03:34:43 +0000 |
commit | bde2220d91774337fba60cfdcc4324005b878736 (patch) | |
tree | ceeedce993984fadf5631d92c5c5d95885abb8b5 /app/src/main/res/layout/item_post.xml | |
parent | 372acf4cf45a0420998cba31683b3e66844d3a1e (diff) | |
download | infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.gz infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.bz2 infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.lz infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.xz infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.tar.zst infinity-for-reddit-bde2220d91774337fba60cfdcc4324005b878736.zip |
Remove unused attributes. Fix loading images using GlideImageGetter after the activity is destroyed.
Diffstat (limited to 'app/src/main/res/layout/item_post.xml')
-rw-r--r-- | app/src/main/res/layout/item_post.xml | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index 7e1e25cc..b2030d63 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -36,7 +36,6 @@ android:layout_gravity="center" android:layout_marginStart="16dp" android:layout_marginEnd="8dp" - android:textColor="?attr/subreddit" android:textSize="?attr/font_default" app:layout_constraintBottom_toTopOf="@id/user_text_view_item_post" app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_item_post" @@ -49,7 +48,6 @@ android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="8dp" - android:textColor="?attr/username" android:textSize="?attr/font_default" android:maxLines="2" android:ellipsize="end" @@ -64,7 +62,6 @@ android:layout_width="24dp" android:layout_height="24dp" android:layout_marginEnd="8dp" - android:tint="?attr/stickiedPost" android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/subreddit_name_text_view_item_post" @@ -127,8 +124,6 @@ android:padding="4dp" android:textSize="?attr/font_12" android:textColor="@android:color/white" - app:lib_setRoundedBGColor="?attr/postType" - app:lib_setRoundedBorderColor="?attr/postType" app:lib_setRadius="3dp" app:lib_setRoundedView="true" app:lib_setShape="rectangle" /> @@ -144,8 +139,6 @@ android:padding="4dp" android:visibility="gone" app:lib_setRadius="3dp" - app:lib_setRoundedBGColor="?attr/spoilerColor" - app:lib_setRoundedBorderColor="?attr/spoilerColor" app:lib_setRoundedView="true" app:lib_setShape="rectangle" /> @@ -158,8 +151,6 @@ android:textSize="?attr/font_12" android:textColor="@android:color/white" android:visibility="gone" - app:lib_setRoundedBGColor="?attr/nsfwColor" - app:lib_setRoundedBorderColor="?attr/nsfwColor" app:lib_setRadius="3dp" app:lib_setRoundedView="true" app:lib_setShape="rectangle" /> @@ -174,8 +165,6 @@ android:padding="4dp" android:visibility="gone" app:lib_setRadius="3dp" - app:lib_setRoundedBGColor="?attr/flairColor" - app:lib_setRoundedBorderColor="?attr/flairColor" app:lib_setRoundedView="true" app:lib_setShape="rectangle" /> @@ -184,7 +173,6 @@ android:layout_width="24dp" android:layout_height="24dp" android:src="@drawable/ic_archive_outline" - android:tint="?attr/archivedTint" android:visibility="gone" /> <ImageView @@ -192,7 +180,6 @@ android:layout_width="24dp" android:layout_height="24dp" android:src="@drawable/ic_outline_lock_24dp" - android:tint="?attr/lockedIconTint" android:visibility="gone" /> <ImageView @@ -200,7 +187,6 @@ android:layout_width="24dp" android:layout_height="24dp" android:src="@drawable/crosspost" - android:tint="?attr/crosspost" android:visibility="gone" /> <TextView @@ -283,7 +269,6 @@ android:scaleType="center" android:src="@drawable/ic_link" android:tint="@android:color/tab_indicator_text" - android:background="?attr/noPreviewLinkBackgroundColor" android:visibility="gone"/> <androidx.constraintlayout.widget.ConstraintLayout |