mirror of https://github.com/readrops/Readrops.git
Set feed icon placeholder color in feed layout to grey
This commit is contained in:
parent
ea76c9d144
commit
12694dfde6
|
@ -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) {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue