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_detail.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_detail.xml')
-rw-r--r-- | app/src/main/res/layout/item_post_detail.xml | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml index 61cf7399..ce515feb 100644 --- a/app/src/main/res/layout/item_post_detail.xml +++ b/app/src/main/res/layout/item_post_detail.xml @@ -26,7 +26,6 @@ android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="8dp" - android:textColor="?attr/subreddit" android:textSize="?attr/font_default" android:maxLines="2" android:ellipsize="end" @@ -41,7 +40,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" @@ -57,7 +55,6 @@ android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="8dp" - android:textColor="?attr/username" android:textSize="?attr/font_12" android:maxLines="2" android:ellipsize="end" @@ -126,8 +123,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" /> @@ -143,8 +138,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" /> @@ -157,8 +150,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" /> @@ -173,8 +164,6 @@ android:textColor="@android:color/white" 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" /> @@ -183,7 +172,6 @@ android:layout_width="20dp" android:layout_height="20dp" android:src="@drawable/ic_archive_outline" - android:tint="?attr/archivedTint" android:visibility="gone" /> <ImageView @@ -191,7 +179,6 @@ android:layout_width="20dp" android:layout_height="20dp" android:src="@drawable/ic_outline_lock_24dp" - android:tint="?attr/lockedIconTint" android:visibility="gone" /> <ImageView @@ -199,7 +186,6 @@ android:layout_width="20dp" android:layout_height="20dp" android:src="@drawable/crosspost" - android:tint="?attr/crosspost" android:visibility="gone" /> <TextView @@ -280,7 +266,6 @@ android:id="@+id/image_view_no_preview_link_item_post_detail" android:layout_width="match_parent" android:layout_height="150dp" - android:background="?attr/noPreviewLinkBackgroundColor" android:scaleType="center" android:src="@drawable/ic_link" android:tint="@android:color/tab_indicator_text" |