Android: Show cover art in the widget (including option to hide it).
[maemo-rb.git] / android / res / layout / appwidget_4x1.xml
blobdb7ebb5d0d770245a3f8ed681d0bab252d14bd7d
1 <?xml version="1.0" encoding="utf-8"?>
3 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4               android:layout_width="fill_parent"
5               android:layout_height="fill_parent"
6               android:orientation="horizontal"
7               android:gravity="center"
8               android:background="@drawable/appwidget_background">
9               <!-- style="@style/appwidget_background"-->
11   <ImageButton android:id="@+id/logo"
12              android:layout_width="68dp"
13              android:layout_height="fill_parent"
14              android:scaleType="centerInside"
15              android:background="@drawable/appwidget_infodisplay_background"
16              android:src="@drawable/rockbox" />
17   <Button android:id="@+id/infoDisplay"
18           style="@style/appwidget_infodisplay"
19           android:layout_height="fill_parent"
20           android:text="@string/appwidget_infoDisplay" />
21   <ImageButton android:id="@+id/prev"
22                style="@style/appwidget_button"
23                android:layout_height="fill_parent"
24                android:src="@drawable/appwidget_prev" />
25   <ImageButton android:id="@+id/stop"
26                style="@style/appwidget_button"
27                android:layout_height="fill_parent"
28                android:src="@drawable/appwidget_stop" />
29   <ImageButton android:id="@+id/playPause"
30                style="@style/appwidget_button"
31                android:layout_height="fill_parent"
32                android:src="@drawable/appwidget_play" />
33   <ImageButton android:id="@+id/next"
34                style="@style/appwidget_button"
35                android:layout_height="fill_parent"
36                android:src="@drawable/appwidget_next" />
37 </LinearLayout>