diff options
author | Tom Hennen <tom.hennen@gmail.com> | 2015-04-05 11:12:51 -0400 |
---|---|---|
committer | Tom Hennen <tom.hennen@gmail.com> | 2015-04-05 11:12:51 -0400 |
commit | 033572bde96d301d9cfeebab0a2dc60a4bada180 (patch) | |
tree | 57aa4c32c5c1724bc74de692f6ed51ead37b20ab /app | |
parent | 8deb1860e27b325de8444b38c22f41bedd8085bf (diff) | |
download | AntennaPod-033572bde96d301d9cfeebab0a2dc60a4bada180.zip |
setting alpha instead of background color.
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/NewEpisodesListAdapter.java | 3 |
1 files changed, 2 insertions, 1 deletions
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; |