rockbox/android/res/layout/appwidget_3x3.xml
Thomas Martitz ab60101dd3 Android: Add a nowplaying bar to the 3x3 widget
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29529 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 22:14:19 +00:00

50 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:gravity="center"
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="6dp"
android:layout_width="fill_parent"
android:layout_height="130dp"
android:scaleType="centerInside"
android:background="@drawable/appwidget_infodisplay_background"
android:src="@drawable/rockbox" />
<Button android:id="@+id/infoDisplay"
style="@style/appwidget_infodisplay"
android:layout_width="fill_parent"
android:text="@string/appwidget_infoDisplay" />
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center"
android:orientation="horizontal">
<ImageButton android:id="@+id/prev"
style="@style/appwidget_button"
android:layout_weight="1"
android:src="@drawable/appwidget_prev" />
<ImageButton android:id="@+id/stop"
style="@style/appwidget_button"
android:layout_weight="1"
android:src="@drawable/appwidget_stop" />
<ImageButton android:id="@+id/playPause"
style="@style/appwidget_button"
android:layout_weight="1"
android:src="@drawable/appwidget_play" />
<ImageButton android:id="@+id/next"
style="@style/appwidget_button"
android:layout_weight="1"
android:src="@drawable/appwidget_next" />
</LinearLayout>
</LinearLayout>