Set feed icon placeholder color in feed layout to grey

This commit is contained in:
Shinokuni 2019-12-29 14:27:12 +01:00
parent ea76c9d144
commit 12694dfde6
2 changed files with 3 additions and 3 deletions

View File

@ -72,10 +72,10 @@ public class FeedsAdapter extends ListAdapter<FeedWithFolder, FeedsAdapter.ViewH
GlideApp.with(viewHolder.itemView.getContext())
.load(feedWithFolder.getFeed().getIconUrl())
.diskCacheStrategy(DiskCacheStrategy.ALL)
.placeholder(R.drawable.ic_rss_feed)
.placeholder(R.drawable.ic_rss_feed_grey)
.into(viewHolder.feedIcon);
} else
viewHolder.feedIcon.setImageResource(R.drawable.ic_rss_feed);
viewHolder.feedIcon.setImageResource(R.drawable.ic_rss_feed_grey);
viewHolder.feedName.setText(feedWithFolder.getFeed().getName());
if (feedWithFolder.getFeed().getDescription() != null) {

View File

@ -27,7 +27,7 @@
android:layout_height="24dp"
android:layout_alignParentStart="true"
android:layout_marginEnd="6dp"
android:src="@drawable/ic_rss_feed" />
android:src="@drawable/ic_rss_feed_grey" />
<TextView
android:id="@+id/feed_layout_name"