aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout
diff options
context:
space:
mode:
authorowner <owner@DeeDee-Laptop>2012-07-12 13:28:47 -0700
committerowner <owner@DeeDee-Laptop>2012-07-12 13:28:47 -0700
commit816c969bb7201810f9271633a1752fcfbddd4cce (patch)
tree596663bd80043191f1611076bae04d1cdd0408a6 /subsonic-android/res/layout
parenteb5dc70027fa6921d179db12369ad188680cbf7d (diff)
downloaddsub-816c969bb7201810f9271633a1752fcfbddd4cce.tar.gz
dsub-816c969bb7201810f9271633a1752fcfbddd4cce.tar.bz2
dsub-816c969bb7201810f9271633a1752fcfbddd4cce.zip
Pin/Unpin/Delete always showing like Select All/Play Now/Play Last
Diffstat (limited to 'subsonic-android/res/layout')
-rw-r--r--subsonic-android/res/layout/select_album.xml48
-rw-r--r--subsonic-android/res/layout/select_album_footer.xml27
2 files changed, 43 insertions, 32 deletions
diff --git a/subsonic-android/res/layout/select_album.xml b/subsonic-android/res/layout/select_album.xml
index 54c4b74a..f2adf21b 100644
--- a/subsonic-android/res/layout/select_album.xml
+++ b/subsonic-android/res/layout/select_album.xml
@@ -28,12 +28,50 @@
android:layout_weight="1.0"
android:fastScrollEnabled="true"
/>
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_marginTop="6dp"
+ android:layout_marginBottom="3dp"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <Button android:id="@+id/select_album_pin"
+ android:text="@string/common.pin"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_marginLeft="6dp"
+ android:layout_marginRight="3dp"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="fill_parent"
+ android:visibility="gone"/>
- <LinearLayout android:orientation="horizontal"
- android:layout_marginTop="6dp"
- android:layout_marginBottom="3dp"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
+ <Button android:id="@+id/select_album_unpin"
+ android:text="@string/common.unpin"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_marginLeft="3dp"
+ android:layout_marginRight="3dp"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="fill_parent"
+ android:visibility="gone"/>
+
+ <Button android:id="@+id/select_album_delete"
+ android:text="@string/common.delete"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_marginLeft="3dp"
+ android:layout_marginRight="6dp"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="fill_parent"
+ android:visibility="gone"/>
+
+ </LinearLayout>
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_marginTop="6dp"
+ android:layout_marginBottom="3dp"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
<Button android:id="@+id/select_album_select"
android:text="@string/select_album.select"
diff --git a/subsonic-android/res/layout/select_album_footer.xml b/subsonic-android/res/layout/select_album_footer.xml
index 06727db4..c1a30a1a 100644
--- a/subsonic-android/res/layout/select_album_footer.xml
+++ b/subsonic-android/res/layout/select_album_footer.xml
@@ -7,33 +7,6 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content">
- <Button android:id="@+id/select_album_pin"
- android:text="@string/common.pin"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:layout_marginLeft="6dp"
- android:layout_marginRight="3dp"
- android:layout_weight="1"
- android:layout_width="0dp"
- android:layout_height="fill_parent"/>
-
- <Button android:id="@+id/select_album_unpin"
- android:text="@string/common.unpin"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:layout_marginLeft="3dp"
- android:layout_marginRight="3dp"
- android:layout_weight="1"
- android:layout_width="0dp"
- android:layout_height="fill_parent"/>
-
- <Button android:id="@+id/select_album_delete"
- android:text="@string/common.delete"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:layout_marginLeft="3dp"
- android:layout_marginRight="6dp"
- android:layout_weight="1"
- android:layout_width="0dp"
- android:layout_height="fill_parent"/>
-
<Button android:id="@+id/select_album_more"
android:text="@string/select_album.more"
android:textAppearance="?android:attr/textAppearanceSmall"