From 033572bde96d301d9cfeebab0a2dc60a4bada180 Mon Sep 17 00:00:00 2001 From: Tom Hennen Date: Sun, 5 Apr 2015 11:12:51 -0400 Subject: setting alpha instead of background color. --- .../main/java/de/danoeh/antennapod/adapter/NewEpisodesListAdapter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main/java/de/danoeh/antennapod/adapter') diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/NewEpisodesListAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/NewEpisodesListAdapter.java index 2dd76ed27..61daa6a74 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/NewEpisodesListAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/NewEpisodesListAdapter.java @@ -12,6 +12,7 @@ import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextView; +import com.nineoldandroids.view.ViewHelper; import com.squareup.picasso.Picasso; import de.danoeh.antennapod.R; @@ -142,7 +143,7 @@ public class NewEpisodesListAdapter extends BaseAdapter { if (item.isRead()) { // grey it out - convertView.setBackgroundColor(Color.GRAY); + ViewHelper.setAlpha(convertView, .2f); } return convertView; -- cgit v1.2.3