aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-11-17 19:34:33 -0800
committerScott Jackson <daneren2005@gmail.com>2012-11-17 19:34:33 -0800
commitd71f81fd01a475c68ac7f6d3afaf122ba08be855 (patch)
tree97ea7a240d4096db4b80b93730efffc054654a31 /subsonic-android/res/layout
parent03852920824033a19e6427b7fac4afa096c5e573 (diff)
downloaddsub-d71f81fd01a475c68ac7f6d3afaf122ba08be855.tar.gz
dsub-d71f81fd01a475c68ac7f6d3afaf122ba08be855.tar.bz2
dsub-d71f81fd01a475c68ac7f6d3afaf122ba08be855.zip
Update of the widget #38
Diffstat (limited to 'subsonic-android/res/layout')
-rw-r--r--subsonic-android/res/layout/appwidget.xml170
1 files changed, 81 insertions, 89 deletions
diff --git a/subsonic-android/res/layout/appwidget.xml b/subsonic-android/res/layout/appwidget.xml
index 6b3c892e..fa47a7b9 100644
--- a/subsonic-android/res/layout/appwidget.xml
+++ b/subsonic-android/res/layout/appwidget.xml
@@ -1,97 +1,89 @@
<?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/widget_background">
-<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/appwidget_button_left"/>
-<ImageView
- android:layout_width="2dip"
- android:layout_height="fill_parent"
- android:background="@drawable/appwidget_divider_vertical"/>
-<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/appwidget_button_left">
- <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"/>
- <ImageView
- android:layout_width="fill_parent"
- android:layout_height="2dip"
- android:background="@drawable/appwidget_divider_horizontal"/>
- <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:orientation="horizontal">
- <ImageButton
- android:id="@+id/control_previous"
- android:layout_width="0dip"
- android:layout_weight="1"
+ 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:src="@drawable/ic_appwidget_music_previous"
- android:background="@drawable/appwidget_button_center"
- android:scaleType="center"/>
- <ImageView
- android:layout_width="2dip"
- android:layout_height="fill_parent"
- android:background="@drawable/appwidget_divider_vertical"/>
- <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/appwidget_button_center"
- android:scaleType="center"/>
- <ImageView
- android:layout_width="2dip"
- android:layout_height="fill_parent"
- android:background="@drawable/appwidget_divider_vertical"/>
- <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/appwidget_button_right"
- android:scaleType="center"/>
+ 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>