rockbox/android/res/layout/appwidget_3x3.xml
Thomas Martitz 883ff8507e Android: Show cover art in the widget (including option to hide it).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29437 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 20:47:44 +00:00

44 lines
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"-->
<ImageButton android:id="@+id/logo"
android:layout_marginTop="15dp"
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>