diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-02-26 21:00:38 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-02-26 21:00:38 +0000 |
commit | f1e3f5e6c4fd511153937766c9c8034957df4f65 (patch) | |
tree | 949f4e0d1278f4c6cbdb9afbb6cc0c4063eb2baa /android/res/layout/appwidget_3x3.xml | |
parent | 194acc68a8111b4a93df6be245dc8f0fdb729ef0 (diff) | |
download | rockbox-f1e3f5e6c4fd511153937766c9c8034957df4f65.tar.gz rockbox-f1e3f5e6c4fd511153937766c9c8034957df4f65.zip |
Android: Add a 3x3 sized widget.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29409 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/res/layout/appwidget_3x3.xml')
-rw-r--r-- | android/res/layout/appwidget_3x3.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/android/res/layout/appwidget_3x3.xml b/android/res/layout/appwidget_3x3.xml new file mode 100644 index 0000000000..a29f416b3d --- /dev/null +++ b/android/res/layout/appwidget_3x3.xml @@ -0,0 +1,42 @@ +<?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:id="@+id/logo" + android:layout_width="fill_parent" + android:layout_height="40dp" + android:scaleType="centerInside" + 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> |