aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorhedwig34 <hedwig34@gmail.com>2013-01-08 16:03:45 -0500
committerhedwig34 <hedwig34@gmail.com>2013-01-08 16:03:45 -0500
commit82b57da94195d7b1dac7e6f7aaf9c615ed4e1335 (patch)
treee2ba4be0e2b86b0fa9f25656ee801a37c4ee1c34 /subsonic-android/src
parente74bc4ac24266250eee67249057b401646ddfb4f (diff)
downloaddsub-82b57da94195d7b1dac7e6f7aaf9c615ed4e1335.tar.gz
dsub-82b57da94195d7b1dac7e6f7aaf9c615ed4e1335.tar.bz2
dsub-82b57da94195d7b1dac7e6f7aaf9c615ed4e1335.zip
Changed media buttons from white to dark when using a light theme.
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java6
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java2
2 files changed, 6 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
index ec50b09f..3ad70134 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
@@ -791,7 +791,11 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
switch (downloadService.getRepeatMode()) {
case OFF:
- repeatButton.setImageResource(R.drawable.media_repeat_off);
+ if("light".equals(theme) | "light_fullscreen".equals(theme)) {
+ repeatButton.setImageResource(R.drawable.media_repeat_off_light);
+ } else {
+ repeatButton.setImageResource(R.drawable.media_repeat_off);
+ }
break;
case ALL:
repeatButton.setImageResource(R.drawable.media_repeat_all);
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
index cc986d2d..75c03be0 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
@@ -58,7 +58,7 @@ public class SubsonicTabActivity extends SherlockActivity {
private static final String TAG = SubsonicTabActivity.class.getSimpleName();
private static ImageLoader IMAGE_LOADER;
- private String theme;
+ protected static String theme;
private boolean destroyed;
private View homeButton;