summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-03-05 22:14:19 +0000
committerThomas Martitz <kugel@rockbox.org>2011-03-05 22:14:19 +0000
commitab60101dd32239fddf8521abec363a55756f8f54 (patch)
treeb86723d2b4aeb970aeae24ef4f980a750f3f95e7 /android
parente1244a0dff7815ad325ae433bc890275916b4fe8 (diff)
Android: Add a nowplaying bar to the 3x3 widget
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29529 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android')
-rw-r--r--android/res/drawable/nowplaying.pngbin0 -> 8839 bytes
-rw-r--r--android/res/layout/appwidget_3x3.xml8
2 files changed, 7 insertions, 1 deletions
diff --git a/android/res/drawable/nowplaying.png b/android/res/drawable/nowplaying.png
new file mode 100644
index 0000000000..4ec5401646
--- /dev/null
+++ b/android/res/drawable/nowplaying.png
Binary files differ
diff --git a/android/res/layout/appwidget_3x3.xml b/android/res/layout/appwidget_3x3.xml
index b5be5356fa..c85846328b 100644
--- a/android/res/layout/appwidget_3x3.xml
+++ b/android/res/layout/appwidget_3x3.xml
@@ -8,8 +8,14 @@
android:background="@drawable/appwidget_background">
<!-- style="@style/appwidget_background"-->
+ <ImageView android:layout_height="16dp"
+ android:layout_width="wrap_content"
+ android:layout_marginTop="6dp"
+ android:scaleType="centerInside"
+ android:background="@drawable/appwidget_infodisplay_background"
+ android:src="@drawable/nowplaying" />
<ImageButton android:id="@+id/logo"
- android:layout_marginTop="15dp"
+ android:layout_marginTop="6dp"
android:layout_width="fill_parent"
android:layout_height="130dp"
android:scaleType="centerInside"