diff options
Diffstat (limited to 'subsonic-android/res')
-rw-r--r-- | subsonic-android/res/drawable/appwidget_bg.9.png | bin | 1784 -> 0 bytes | |||
-rw-r--r-- | subsonic-android/res/drawable/widget_background.xml | 12 | ||||
-rw-r--r-- | subsonic-android/res/layout/appwidget.xml | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/subsonic-android/res/drawable/appwidget_bg.9.png b/subsonic-android/res/drawable/appwidget_bg.9.png Binary files differdeleted file mode 100644 index afe41b67..00000000 --- a/subsonic-android/res/drawable/appwidget_bg.9.png +++ /dev/null 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> + diff --git a/subsonic-android/res/layout/appwidget.xml b/subsonic-android/res/layout/appwidget.xml index 4d6b1095..e2c797b3 100644 --- a/subsonic-android/res/layout/appwidget.xml +++ b/subsonic-android/res/layout/appwidget.xml @@ -3,7 +3,7 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal" - android:background="@drawable/appwidget_bg" + android:background="@drawable/widget_background" android:padding="0dp"> <ImageView android:id="@+id/appwidget_coverart" |