From f3b2e296e767f60081dafa7ae0401fd77344a788 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 2 Oct 2019 22:57:03 +0800 Subject: [PATCH] up --- .../app/ui/rss/article/RssArticlesAdapter.kt | 5 -- app/src/main/res/layout/item_rss_article.xml | 74 +++++++++---------- 2 files changed, 36 insertions(+), 43 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt index cb209dc37..f75ad0f21 100644 --- a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt @@ -16,11 +16,6 @@ class RssArticlesAdapter(context: Context, val callBack: CallBack) : with(holder.itemView) { tv_title.text = item.title tv_pub_date.text = item.pubDate - if (item.author.isNullOrBlank()) { - tv_author.text = item.link - } else { - tv_author.text = item.author - } onClick { callBack.readRss(item) } diff --git a/app/src/main/res/layout/item_rss_article.xml b/app/src/main/res/layout/item_rss_article.xml index 8f9c1d03b..6a9e5aba1 100644 --- a/app/src/main/res/layout/item_rss_article.xml +++ b/app/src/main/res/layout/item_rss_article.xml @@ -1,45 +1,43 @@ - + android:layout_height="100dp" + android:padding="16dp"> - + - + - + - - - - \ No newline at end of file + \ No newline at end of file