aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout-land
diff options
context:
space:
mode:
authorKurt Hardin <kurthardin.dev@gmail.com>2012-08-29 13:25:20 -0700
committerKurt Hardin <kurthardin.dev@gmail.com>2012-08-29 13:25:20 -0700
commit9d2b9d39a1b43dc26d5598dab801198adbe42009 (patch)
treeeba153912e3f1821597916ef7e2896154bc349b2 /subsonic-android/res/layout-land
parentd0e1ef7dca6fefa2815c1e633901cd369f938b63 (diff)
downloaddsub-9d2b9d39a1b43dc26d5598dab801198adbe42009.tar.gz
dsub-9d2b9d39a1b43dc26d5598dab801198adbe42009.tar.bz2
dsub-9d2b9d39a1b43dc26d5598dab801198adbe42009.zip
Added support for starring albums and songs.
Requires server version 4.7 (currently in beta) for star support. Currently the Subsonic APIs don't provide adequate star support when listing artists.
Diffstat (limited to 'subsonic-android/res/layout-land')
-rw-r--r--subsonic-android/res/layout-land/download.xml16
1 files changed, 12 insertions, 4 deletions
diff --git a/subsonic-android/res/layout-land/download.xml b/subsonic-android/res/layout-land/download.xml
index 01a9b68d..b0303e52 100644
--- a/subsonic-android/res/layout-land/download.xml
+++ b/subsonic-android/res/layout-land/download.xml
@@ -14,15 +14,15 @@
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentRight="true"
- android:background="@color/mediaControlBackground"
- >
+ android:background="@color/mediaControlBackground">
<LinearLayout
+ android:id="@+id/download_play_controls_layout"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true">
+ android:layout_centerHorizontal="true">
<ImageButton
android:id="@+id/download_previous"
@@ -87,7 +87,6 @@
android:id="@+id/download_song_title"
android:layout_width="150dip"
android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
android:layout_above="@+id/download_status"
android:layout_centerHorizontal="true"
android:layout_marginLeft="12dip"
@@ -99,6 +98,7 @@
android:textColor="@color/mediaControlForeground"/>
<LinearLayout
+ android:id="@+id/download_other_controls_layout"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -111,6 +111,7 @@
android:background="@android:color/transparent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_below="@+id/download_play_controls_layout"
android:padding="9dip"/>
<ImageButton
android:id="@+id/download_repeat"
@@ -120,6 +121,13 @@
android:layout_height="wrap_content"
android:padding="9dip"/>
<ImageButton
+ android:id="@+id/download_star"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:background="@null"
+ android:src="@android:drawable/star_big_off"/>
+ <ImageButton
android:id="@+id/download_toggle_list"
android:src="@drawable/media_toggle_list"
android:background="@android:color/transparent"