aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/github/daneren2005/dsub/view/SongView.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/view/SongView.java b/app/src/main/java/github/daneren2005/dsub/view/SongView.java
index 95f7479f..84e04a0b 100644
--- a/app/src/main/java/github/daneren2005/dsub/view/SongView.java
+++ b/app/src/main/java/github/daneren2005/dsub/view/SongView.java
@@ -330,7 +330,15 @@ public class SongView extends UpdateView2<MusicDirectory.Entry, Boolean> {
// Still highlight red if a 1-star
if(isRated == 1) {
this.setBackgroundColor(Color.RED);
- this.getBackground().setAlpha(20);
+
+ String theme = Util.getTheme(context);
+ if("black".equals(theme)) {
+ this.getBackground().setAlpha(80);
+ } else if("dark".equals(theme) || "holo".equals(theme)) {
+ this.getBackground().setAlpha(60);
+ } else {
+ this.getBackground().setAlpha(20);
+ }
} else if(rating == 1) {
this.setBackgroundColor(0x00000000);
}