aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-06-03 21:09:41 -0700
committerScott Jackson <daneren2005@gmail.com>2013-06-03 21:09:41 -0700
commitb27b809d018665d25512f9707d49941667cbc21c (patch)
tree5e0343ddb0ceba77ad66d4dc9078c49c66186d0c /subsonic-android/res/layout
parent60a8fcaf8ece49d7ca6fcfda792f8935380d0223 (diff)
downloaddsub-b27b809d018665d25512f9707d49941667cbc21c.tar.gz
dsub-b27b809d018665d25512f9707d49941667cbc21c.tar.bz2
dsub-b27b809d018665d25512f9707d49941667cbc21c.zip
Finished adding 4x1-4x4 widgets (Thanks archrival)
Diffstat (limited to 'subsonic-android/res/layout')
-rw-r--r--subsonic-android/res/layout/appwidget.xml89
-rw-r--r--subsonic-android/res/layout/appwidget4x1.xml191
-rw-r--r--subsonic-android/res/layout/appwidget4x2.xml226
-rw-r--r--subsonic-android/res/layout/appwidget4x3.xml112
-rw-r--r--subsonic-android/res/layout/appwidget4x4.xml114
5 files changed, 454 insertions, 278 deletions
diff --git a/subsonic-android/res/layout/appwidget.xml b/subsonic-android/res/layout/appwidget.xml
deleted file mode 100644
index fa47a7b9..00000000
--- a/subsonic-android/res/layout/appwidget.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-<?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="horizontal"
- android:background="@drawable/appwidget_bg">
-
- <ImageView
- android:id="@+id/appwidget_coverart"
- android:layout_height="fill_parent"
- android:layout_width="81dip"
- android:scaleType="fitXY"
- android:src="@drawable/appwidget_art_default"
- android:clickable="true"
- android:focusable="true"
- android:background="@drawable/media_button"/>
- <LinearLayout
- android:id="@+id/appwidget_top"
- android:layout_height="fill_parent"
- android:layout_width="fill_parent"
- android:orientation="vertical"
- android:clickable="true"
- android:focusable="true"
- android:background="@drawable/media_button">
-
- <TextView
- android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:minHeight="16sp"
- android:textColor="@color/appwidget_text"
- android:textStyle="bold"
- android:textSize="16sp"
- android:singleLine="true"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:fadingEdge="horizontal"
- android:fadingEdgeLength="20dip"
- android:ellipsize="none"/>
- <TextView
- android:id="@+id/artist"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/cyan"
- android:minHeight="12sp"
- android:textSize="12sp"
- android:singleLine="true"
- android:paddingLeft="5dip"
- android:paddingBottom="2dip"
- android:fadingEdge="horizontal"
- android:fadingEdgeLength="10dip"
- android:ellipsize="none"/>
-
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="1.0dip"
- android:background="#33ffffff"/>
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="horizontal">
- <ImageButton
- android:id="@+id/control_previous"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_previous"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- <ImageButton
- android:id="@+id/control_play"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_play"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- <ImageButton
- android:id="@+id/control_next"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_next"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- </LinearLayout>
- </LinearLayout>
-</LinearLayout>
diff --git a/subsonic-android/res/layout/appwidget4x1.xml b/subsonic-android/res/layout/appwidget4x1.xml
index ed08d674..5e55aa37 100644
--- a/subsonic-android/res/layout/appwidget4x1.xml
+++ b/subsonic-android/res/layout/appwidget4x1.xml
@@ -1,91 +1,106 @@
<?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="horizontal"
- android:background="@drawable/appwidget_bg">
-
- <ImageView
- android:id="@+id/appwidget_coverart"
- android:layout_height="fill_parent"
- android:layout_width="82dip"
- android:scaleType="fitXY"
- android:src="@drawable/appwidget_art_default"
- android:clickable="true"
- android:focusable="true"
- android:background="@drawable/media_button"/>
- <LinearLayout
- android:id="@+id/appwidget_top"
- android:layout_height="fill_parent"
- android:layout_width="fill_parent"
- android:orientation="vertical"
- android:clickable="true"
- android:focusable="true"
- android:background="@drawable/media_button">
-
- <TextView
- android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:minHeight="16sp"
- android:textColor="@color/appwidget_text"
- android:textStyle="bold"
- android:textSize="16sp"
- android:singleLine="true"
- android:paddingTop="4dip"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:paddingBottom="0dip"
- android:fadingEdge="horizontal"
- android:fadingEdgeLength="20dip"
- android:ellipsize="none"/>
- <TextView
- android:id="@+id/artist"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/cyan"
- android:minHeight="14sp"
- android:textSize="12sp"
- android:singleLine="true"
- android:paddingLeft="5dip"
- android:paddingBottom="2dip"
- android:fadingEdge="horizontal"
- android:fadingEdgeLength="10dip"
- android:ellipsize="none"/>
-
- <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:minWidth="250dp"
+ android:minHeight="40dp"
+ android:background="@drawable/appwidget_bg"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/appwidget_coverart"
+ android:layout_width="80dp"
+ android:layout_height="80dp"
+ android:layout_gravity="center_vertical"
+ android:clickable="true"
+ android:focusable="true"
+ android:src="@drawable/appwidget_art_default" />
+
+ <LinearLayout
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/appwidget_top"
android:layout_width="fill_parent"
- android:layout_height="1.0dip"
- android:background="#33ffffff"/>
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="horizontal">
- <ImageButton
- android:id="@+id/control_previous"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_previous"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- <ImageButton
- android:id="@+id/control_play"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_play"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- <ImageButton
- android:id="@+id/control_next"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_next"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- </LinearLayout>
- </LinearLayout>
-</LinearLayout>
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:focusable="true"
+ android:orientation="vertical"
+ android:background="@drawable/media_button">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="20dip"
+ android:minHeight="16sp"
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip"
+ android:paddingTop="4dip"
+ android:singleLine="true"
+ android:gravity="center_horizontal"
+ android:text="Title"
+ android:textColor="@color/appwidget_text"
+ android:textSize="16sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/artist"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="10dip"
+ android:minHeight="12sp"
+ android:paddingBottom="4dip"
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip"
+ android:singleLine="true"
+ android:gravity="center_horizontal"
+ android:text="Artist"
+ android:textColor="@color/appwidget_text"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="horizontal"
+ android:paddingBottom="4dip"
+ android:paddingTop="4dip" >
+
+ <ImageButton
+ android:id="@+id/control_previous"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:background="@drawable/media_button"
+ android:src="@drawable/ic_appwidget_music_previous" />
+
+ <ImageButton
+ android:id="@+id/control_play"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_play"
+ android:background="@drawable/media_button" />
+
+ <ImageButton
+ android:id="@+id/control_next"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_next"
+ android:background="@drawable/media_button" />
+ </LinearLayout>
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/subsonic-android/res/layout/appwidget4x2.xml b/subsonic-android/res/layout/appwidget4x2.xml
index 6407c298..575ae1c2 100644
--- a/subsonic-android/res/layout/appwidget4x2.xml
+++ b/subsonic-android/res/layout/appwidget4x2.xml
@@ -1,105 +1,129 @@
<?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="140dp"
- android:orientation="horizontal"
- android:background="@drawable/appwidget_bg">
-
- <ImageView
- android:id="@+id/appwidget_coverart"
- android:layout_height="fill_parent"
- android:layout_width="135dip"
- android:scaleType="fitXY"
- android:src="@drawable/appwidget_art_default"
- android:clickable="true"
- android:focusable="true"
- android:background="@drawable/media_button"/>
- <LinearLayout
- android:id="@+id/appwidget_top"
- android:layout_height="fill_parent"
- android:layout_width="fill_parent"
- android:orientation="vertical"
- android:clickable="true"
- android:focusable="true"
- android:background="@drawable/media_button">
-
- <TextView
- android:id="@+id/title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:minHeight="16sp"
- android:textColor="@color/appwidget_text"
- android:textStyle="bold"
- android:textSize="16sp"
- android:singleLine="true"
- android:paddingTop="8dip"
- android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:paddingBottom="4dip"
- android:fadingEdge="horizontal"
- android:fadingEdgeLength="20dip"
- android:ellipsize="none"/>
- <TextView
- android:id="@+id/artist"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/appwidget_text"
- android:minHeight="12sp"
- android:textSize="14sp"
- android:singleLine="true"
- android:paddingLeft="5dip"
- android:paddingBottom="2dip"
- android:fadingEdge="horizontal"
- android:fadingEdgeLength="10dip"
- android:ellipsize="none"/>
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:minWidth="250dp"
+ android:minHeight="110dp"
+ android:background="@drawable/appwidget_bg"
+ android:orientation="horizontal" >
- <TextView
- android:id="@+id/album"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/cyan"
- android:minHeight="12sp"
- android:textSize="14sp"
- android:singleLine="true"
- android:paddingLeft="5dip"
- android:paddingBottom="20dip"
- android:fadingEdge="horizontal"
- android:fadingEdgeLength="10dip"
- android:ellipsize="none"/>
-
- <LinearLayout
+ <ImageView
+ android:id="@+id/appwidget_coverart"
+ android:layout_width="120dp"
+ android:layout_height="120dp"
+ android:layout_gravity="center_vertical"
+ android:clickable="true"
+ android:focusable="true"
+ android:src="@drawable/appwidget_art_default" />
+
+ <LinearLayout
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/appwidget_top"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:focusable="true"
+ android:orientation="vertical"
+ android:paddingTop="4dip"
+ android:paddingBottom="4dip"
+ android:background="@drawable/media_button">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="20dip"
+ android:minHeight="16sp"
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip"
+ android:paddingTop="4dip"
+ android:paddingBottom="2dip"
+ android:singleLine="true"
+ android:gravity="center_horizontal"
+ android:text="Title"
+ android:textColor="@color/appwidget_text"
+ android:textSize="16sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/artist"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="10dip"
+ android:minHeight="12sp"
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip"
+ android:paddingBottom="2dip"
+ android:singleLine="true"
+ android:gravity="center_horizontal"
+ android:text="Artist"
+ android:textColor="@color/appwidget_text"
+ android:textSize="12sp" />
+
+ <TextView
+ android:id="@+id/album"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="10dip"
+ android:minHeight="12sp"
+ android:paddingBottom="2dip"
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip"
+ android:singleLine="true"
+ android:gravity="center_horizontal"
+ android:text="Album"
+ android:textColor="@color/appwidget_text"
+ android:textSize="12sp" />
+
+ </LinearLayout>
+
+ <LinearLayout
android:layout_width="fill_parent"
- android:layout_height="1.0dip"
- android:background="#33ffffff"/>
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="horizontal">
- <ImageButton
- android:id="@+id/control_previous"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_previous"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- <ImageButton
- android:id="@+id/control_play"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_play"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- <ImageButton
- android:id="@+id/control_next"
- android:layout_width="0dip"
- android:layout_weight="1"
- android:layout_height="fill_parent"
- android:src="@drawable/ic_appwidget_music_next"
- android:background="@drawable/media_button"
- android:scaleType="center"/>
- </LinearLayout>
- </LinearLayout>
-</LinearLayout>
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:layout_gravity="bottom"
+ android:gravity="bottom"
+ android:paddingBottom="4dip"
+ android:paddingTop="4dip" >"
+
+ <ImageButton
+ android:id="@+id/control_previous"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:background="@drawable/media_button"
+ android:src="@drawable/ic_appwidget_music_previous" />
+
+ <ImageButton
+ android:id="@+id/control_play"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_play"
+ android:background="@drawable/media_button" />
+
+ <ImageButton
+ android:id="@+id/control_next"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_next"
+ android:background="@drawable/media_button" />
+ </LinearLayout>
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/subsonic-android/res/layout/appwidget4x3.xml b/subsonic-android/res/layout/appwidget4x3.xml
new file mode 100644
index 00000000..b4f685bc
--- /dev/null
+++ b/subsonic-android/res/layout/appwidget4x3.xml
@@ -0,0 +1,112 @@
+<?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:background="@drawable/appwidget_bg"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:id="@+id/appwidget_coverart"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:scaleType="fitCenter"
+ android:layout_weight="1"
+ android:layout_gravity="center_horizontal"
+ android:clickable="true"
+ android:focusable="true"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip"
+ android:src="@drawable/appwidget_art_default" />
+
+ <LinearLayout
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/appwidget_top"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:focusable="true"
+ android:orientation="vertical"
+ android:paddingBottom="4dip"
+ android:paddingTop="4dip"
+ android:background="@drawable/media_button">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="20dip"
+ android:minHeight="16sp"
+ android:paddingLeft="5dip"
+ android:paddingRight="5dip"
+ android:singleLine="true"
+ android:textColor="@color/appwidget_text"
+ android:textSize="16sp"
+ android:text="Title"
+ android:layout_gravity="center_horizontal"
+ android:gravity="center"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/artist"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="10dip"
+ android:minHeight="12sp"
+ android:paddingBottom="2dip"
+ android:paddingLeft="5dip"
+ android:singleLine="true"
+ android:text="Artist"
+ android:layout_gravity="center_horizontal"
+ android:gravity="center"
+ android:textColor="@color/appwidget_text"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:gravity="bottom"
+ android:orientation="horizontal"
+ android:paddingBottom="4dip">
+
+ <ImageButton
+ android:id="@+id/control_previous"
+ android:layout_width="0dip"
+ android:layout_height="56dip"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:background="@drawable/media_button"
+ android:src="@drawable/ic_appwidget_music_previous" />
+
+ <ImageButton
+ android:id="@+id/control_play"
+ android:layout_width="0dip"
+ android:layout_height="56dip"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_play"
+ android:background="@drawable/media_button" />
+
+ <ImageButton
+ android:id="@+id/control_next"
+ android:layout_width="0dip"
+ android:layout_height="56dip"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_next"
+ android:background="@drawable/media_button" />
+ </LinearLayout>
+
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/subsonic-android/res/layout/appwidget4x4.xml b/subsonic-android/res/layout/appwidget4x4.xml
new file mode 100644
index 00000000..6e6c12ab
--- /dev/null
+++ b/subsonic-android/res/layout/appwidget4x4.xml
@@ -0,0 +1,114 @@
+<?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:background="@drawable/appwidget_bg" >
+
+ <ImageView
+ android:id="@+id/appwidget_coverart"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:scaleType="fitCenter"
+ android:layout_weight="1"
+ android:layout_gravity="center_horizontal"
+ android:clickable="true"
+ android:focusable="true"
+ android:layout_margin="6dip"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip"
+ android:src="@drawable/appwidget_art_default" />
+
+ <LinearLayout
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:id="@+id/appwidget_top"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:focusable="true"
+ android:orientation="vertical"
+ android:paddingTop="4dip"
+ android:paddingBottom="4dip"
+ android:background="@drawable/media_button">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="20dip"
+ android:minHeight="16sp"
+ android:paddingLeft="5dip"
+ android:paddingRight="5dip"
+ android:singleLine="true"
+ android:textColor="@color/appwidget_text"
+ android:textSize="16sp"
+ android:text="Title"
+ android:layout_gravity="center_horizontal"
+ android:gravity="center"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/artist"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:fadingEdge="horizontal"
+ android:fadingEdgeLength="10dip"
+ android:minHeight="12sp"
+ android:paddingBottom="2dip"
+ android:paddingLeft="5dip"
+ android:singleLine="true"
+ android:text="Artist"
+ android:layout_gravity="center_horizontal"
+ android:gravity="center"
+ android:textColor="@color/appwidget_text"
+ android:textSize="12sp" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:gravity="bottom"
+ android:orientation="horizontal"
+ android:paddingBottom="4dip"
+ android:paddingTop="4dip" >
+
+ <ImageButton
+ android:id="@+id/control_previous"
+ android:layout_width="0dip"
+ android:layout_height="56dip"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:background="@drawable/media_button"
+ android:src="@drawable/ic_appwidget_music_previous" />
+
+ <ImageButton
+ android:id="@+id/control_play"
+ android:layout_width="0dip"
+ android:layout_height="56dip"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_play"
+ android:background="@drawable/media_button" />
+
+ <ImageButton
+ android:id="@+id/control_next"
+ android:layout_width="0dip"
+ android:layout_height="56dip"
+ android:layout_weight="1"
+ android:scaleType="center"
+ android:src="@drawable/ic_appwidget_music_next"
+ android:background="@drawable/media_button" />
+ </LinearLayout>
+
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file