aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-09-09 14:54:11 -0700
committerScott Jackson <daneren2005@gmail.com>2012-09-09 14:54:11 -0700
commit89ebb04737aeefefd5081c4157de90c735eab80c (patch)
tree29605d47e5c8f7ae215cb6ee580741f6550a234a /subsonic-android/src
parentb644ac5aa4278cfeaa337cbede7c3b240ff40da3 (diff)
downloaddsub-89ebb04737aeefefd5081c4157de90c735eab80c.tar.gz
dsub-89ebb04737aeefefd5081c4157de90c735eab80c.tar.bz2
dsub-89ebb04737aeefefd5081c4157de90c735eab80c.zip
Removed Wheat theme + re-added back dynamic themeing to activities
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
index 7d303a8d..03fcf357 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
@@ -67,9 +67,8 @@ public class SubsonicTabActivity extends SherlockActivity {
@Override
protected void onCreate(Bundle bundle) {
setUncaughtExceptionHandler();
- // applyTheme();
+ applyTheme();
super.onCreate(bundle);
- // requestWindowFeature(Window.FEATURE_NO_TITLE);
startService(new Intent(this, DownloadServiceImpl.class));
setVolumeControlStream(AudioManager.STREAM_MUSIC);
}
@@ -169,10 +168,12 @@ public class SubsonicTabActivity extends SherlockActivity {
private void applyTheme() {
String theme = Util.getTheme(this);
if ("dark".equals(theme)) {
- setTheme(android.R.style.Theme);
+ setTheme(R.style.Theme_DSub_Dark);
} else if ("light".equals(theme)) {
- setTheme(android.R.style.Theme_Light);
- }
+ setTheme(R.style.Theme_DSub_Light);
+ } else {
+ setTheme(R.style.Theme_DSub_Light);
+ }
}
public boolean isDestroyed() {