aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/drawable
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-09-06 23:15:06 -0700
committerScott Jackson <daneren2005@gmail.com>2012-09-06 23:15:06 -0700
commitded5e86222e26cc80fe70ed5da4cfe0ed8bf8f54 (patch)
treefb9168ed4d2b66d0ec010a37dd9ea390de2cfab4 /subsonic-android/res/drawable
parenta30ae4270e120948892de1b76c77c8c3f8698fd8 (diff)
downloaddsub-ded5e86222e26cc80fe70ed5da4cfe0ed8bf8f54.tar.gz
dsub-ded5e86222e26cc80fe70ed5da4cfe0ed8bf8f54.tar.bz2
dsub-ded5e86222e26cc80fe70ed5da4cfe0ed8bf8f54.zip
Switch up way background is set for widget
Diffstat (limited to 'subsonic-android/res/drawable')
-rw-r--r--subsonic-android/res/drawable/appwidget_bg.9.pngbin1784 -> 0 bytes
-rw-r--r--subsonic-android/res/drawable/widget_background.xml12
2 files changed, 12 insertions, 0 deletions
diff --git a/subsonic-android/res/drawable/appwidget_bg.9.png b/subsonic-android/res/drawable/appwidget_bg.9.png
deleted file mode 100644
index afe41b67..00000000
--- a/subsonic-android/res/drawable/appwidget_bg.9.png
+++ /dev/null
Binary files differ
diff --git a/subsonic-android/res/drawable/widget_background.xml b/subsonic-android/res/drawable/widget_background.xml
new file mode 100644
index 00000000..fe641900
--- /dev/null
+++ b/subsonic-android/res/drawable/widget_background.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true"
+ android:drawable="@drawable/appwidget_overlay" />
+
+ <item android:state_focused="true" android:state_enabled="true"
+ android:state_window_focused="true"
+ android:drawable="@drawable/appwidget_overlay" />
+
+ <item android:drawable="@drawable/appwidget_bg" />
+</selector>
+